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:
Name Error
|
|
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
|