Simple Timer
Im three weeks or so in, and despite having not much time I wanted to see how much I had actually learned and this is the result
Its really simple, and a bit pointless, but I coded all of it myself and I think its a step up from my ASCII generator."
As long as I move forward, its progress"
The Python Code
import time
import os
os.system('clear')
print("Simple timer")
print("Enter the time in seconds ")
run = True
counter = 0
counter_limit = int (input("How many seconds? "))
while run:
if counter == counter_limit:
run = False
break
counter = (counter +1)
print (counter, end='\r', flush=True)
time.sleep(1)
print("Times up!")