litlag1
@litlag1
ChAoTiCChAoSThEGrEaT Just a suggestion you should clear after every second passes
For example
import time,os
print("This is the timer")
start = input("Would you like to begin Timing? (y/n): ")
if start == "y":
timeLoop = True
Sec = 0
Min = 0
timeLoop = start
while timeLoop:
Sec += 1
print(str(Min) + " Mins " + str(Sec) + " Sec ")
time.sleep(1)
os.system('clear')
if Sec == 60:
Sec = 0
Min += 1
print(str(Min) + " Minute")
`2 years ago