Advertisement
VladoG

DigitalTimer_2023_04_07

Apr 7th, 2023 (edited)
652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | Software | 0 0
  1. import time
  2. import os
  3.  
  4. '''
  5. os.system('clear')
  6. time.sleep(1)
  7. '''
  8. def prn_Result(*arg):
  9.     print(arg[0],arg[1], sep=arg[2])
  10.  
  11.  
  12. for second in range(60):
  13.     os.system('clear')
  14.     prn_Result(second, second, ":") #Резултатът се печата от тази функция
  15.     time.sleep(1)
  16.    
  17.  
  18. '''  
  19. 05:45:56
  20. --------
  21. '''
  22. '''
  23. Use Online compiler OnlineGDB - https://www.onlinegdb.com/
  24. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement