Jan-04-2018, 11:23 PM
(This post was last modified: Jan-04-2018, 11:48 PM by sparkz_alot.)
Please help!
I very new to python and need to understand why I'm getting this error message for this output.
Traceback (most recent call last):
File "/Users/aka2d7/Documents/Output ex.py", line 24, in <module>
print(city, "is currently", description, "and temperature is", temperature + "F")
TypeError: unsupported operand type(s) for +: 'int' and 'str'
I can run it and it will work up until the (+) plus sign and the "F". What does this error message mean?
Thanks,
aka2d7
I very new to python and need to understand why I'm getting this error message for this output.
Traceback (most recent call last):
File "/Users/aka2d7/Documents/Output ex.py", line 24, in <module>
print(city, "is currently", description, "and temperature is", temperature + "F")
TypeError: unsupported operand type(s) for +: 'int' and 'str'
I can run it and it will work up until the (+) plus sign and the "F". What does this error message mean?
Thanks,
aka2d7