# import the time module import time # define the countdown func. def countdown(t): while t: mins, secs = divmod(t, 60) timer = '{:02d}:{:02d}'.format(mins, secs) print(timer, end="\r") time.sleep(1) t -= 1 print('Happy Chinese New Year!') # input time in seconds t = input("Enter the time in seconds: ") # function call countdown(int(t))
top of page
ToaTronics - Ultrasonic Cool Mist Humidifier

ToaTronics - Ultrasonic Cool Mist Humidifier

  • 4.0L / 1.06Gal Water Tank
  • Automatic Humidity Monitoring
  • 28dB Quiet Operation
  • 3.6”/ 9cm Wide Opening
  • Premium LED Display
  • 250mL/h Max Mist Output
    $30.00Price
    Product Page: Stores_Product_Widget
    bottom of page