This question already has an answer here:
- Python: “global name 'time' is not defined” 5 answers
I'm getting the following error:
The error:"Traceback (most recent call last):
File "C:\Users\Jamie\Desktop\Python\ATM.py", line 8, in <module>
time.sleep(2)
NameError: name 'time' is not defined"
here is my code:
http://pastebin.com/q2v7sdbz
Any ideas towards what may be throwing this?
Best,
Jamie