+ 2
Time function in python
What is the syntax for time function I used: t = time() and it said time was not defined
3 Answers
+ 6
did you imported the time libraries?
import time
+ 1
Thank you. Import time was key. I am learning Python to assist my college age sons learn programming.
0
import time
print(time.time())