We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d08cd26 commit cea6e7eCopy full SHA for cea6e7e
exercises/12-Map_a_list/app.py
@@ -1,9 +1,9 @@
1
celsius_values = [-2, 34, 56, -10]
2
3
-def fahrenheit_values(x):
4
- # The magic happens here
+def celsius_to_fahrenheit(celsius):
+ # The magic happens here
5
6
-
7
-result = list(map(fahrenheit_values, celsius_values))
+
+result = list(map(celsius_to_fahrenheit, celsius_values))
8
9
print(result)
0 commit comments