diff --git a/snippet_data/snippetList.json b/snippet_data/snippetList.json index 05fd546d6..f1c127d35 100644 --- a/snippet_data/snippetList.json +++ b/snippet_data/snippetList.json @@ -171,6 +171,21 @@ "hash": "0765b0134c5da933915f4c6a7c43dc50b004fd799514e66133e0cfe438af9171" } }, + { + "id": "celsius_to_fahrenheit", + "type": "snippetListing", + "title": "celsius_to_fahrenheit", + "attributes": { + "text": "Converts Celsius to Fahrenheit.\n\nUse the formula `fahrenheit = (celsius * 1.8) + 32` to convert from Celsius to Fahrenheit.\n\n", + "tags": [ + "math", + "beginner" + ] + }, + "meta": { + "hash": "e6ff3f171475a484b9345c4ec64bc50de7ae8dada2a12d5222a357923d7d874e" + } + }, { "id": "check_prop", "type": "snippetListing", @@ -491,6 +506,21 @@ "hash": "c13c145eb46403345b747fb7ca9c378a0e7f00dcd9f033f0e414279fcb4fdb88" } }, + { + "id": "fahrenheit_to_celsius", + "type": "snippetListing", + "title": "fahrenheit_to_celsius", + "attributes": { + "text": "Converts Fahrenheit to Celsius.\n\nUse the formula `celsius = (fahrenheit - 32) / 1.8` to convert from Fahrenheit to Celsius.\n\n", + "tags": [ + "math", + "beginner" + ] + }, + "meta": { + "hash": "98e114e9302c0aa91880059dbae94141965386a1f464286d3e598d3972663ff2" + } + }, { "id": "fibonacci", "type": "snippetListing", diff --git a/snippet_data/snippets.json b/snippet_data/snippets.json index 601bde934..973b0b7b5 100644 --- a/snippet_data/snippets.json +++ b/snippet_data/snippets.json @@ -270,6 +270,30 @@ "authorCount": 3 } }, + { + "id": "celsius_to_fahrenheit", + "title": "celsius_to_fahrenheit", + "type": "snippet", + "attributes": { + "fileName": "celsius_to_fahrenheit.md", + "text": "Converts Celsius to Fahrenheit.\n\nUse the formula `fahrenheit = (celsius * 1.8) + 32` to convert from Celsius to Fahrenheit.\n\n", + "codeBlocks": { + "code": "def celsius_to_fahrenheit(celsius):\r\n return ((celsius * 1.8) + 32)", + "example": "celsius_to_fahrenheit(180) # 356.0" + }, + "tags": [ + "math", + "beginner" + ] + }, + "meta": { + "hash": "e6ff3f171475a484b9345c4ec64bc50de7ae8dada2a12d5222a357923d7d874e", + "firstSeen": "1586078943", + "lastUpdated": "1586078943", + "updateCount": 2, + "authorCount": 2 + } + }, { "id": "check_prop", "title": "function_name", @@ -779,6 +803,30 @@ "authorCount": 4 } }, + { + "id": "fahrenheit_to_celsius", + "title": "fahrenheit_to_celsius", + "type": "snippet", + "attributes": { + "fileName": "fahrenheit_to_celsius.md", + "text": "Converts Fahrenheit to Celsius.\n\nUse the formula `celsius = (fahrenheit - 32) / 1.8` to convert from Fahrenheit to Celsius.\n\n", + "codeBlocks": { + "code": "def fahrenheit_to_celsius(fahrenheit):\r\n return ((fahrenheit - 32) / 1.8)", + "example": "fahrenheit_to_celsius(77) # 25.0" + }, + "tags": [ + "math", + "beginner" + ] + }, + "meta": { + "hash": "98e114e9302c0aa91880059dbae94141965386a1f464286d3e598d3972663ff2", + "firstSeen": "1586078943", + "lastUpdated": "1586078943", + "updateCount": 2, + "authorCount": 2 + } + }, { "id": "fibonacci", "title": "fibonacci",