This is my code
def fahrenheit(T):
return ((float(9)/5)*T + 32)
temp = [0, 22.5, 40,100]
F_temps = map(fahrenheit, temp)
This is mapobject so I tried something like this
for i in F_temps:
print(F_temps)
<map object at 0x7f9aa050ff28>
<map object at 0x7f9aa050ff28>
<map object at 0x7f9aa050ff28>
<map object at 0x7f9aa050ff28>
I am not sure but I think that my solution was possible with Python 2.7,how to change this with 3.5?