error explanation

Christos TZOTZIOY Georgiou tzot at
Tue Sep 30 01:05:02 CEST 2003

On 29 Sep 2003 14:45:44 -0700, rumours say that
malcolm.wood3 at (Mac Wood) might have written:

>Could someone please explain this error message:
>Traceback (most recent call last):
>  File "C:\Python23\", line 1, in -toplevel-
>NameError: name 'time' is not defined
>I tried entering the following example:
>#This programs calculates rate and distance problems
>print "Input a rate and a distance"
>rate = input("Rate:")
>distance = input("Distance:")
>print "Time:",distance/rate

remove the line (it's supposed to name the following lines, not
to be included with them :)
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.

More information about the Python-list mailing list