Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Name Error
#2
temp and newTemp are defined inside the function, thus no where else would know what they are unless you return them. The print function calls are outside of the function, not in it.
Recommended Tutorials:
Reply


Messages In This Thread
Name Error - by atik666 - Jan-31-2018, 06:52 AM
RE: Name Error - by metulburr - Jan-31-2018, 07:27 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020