Advertisement
dimkiriaoks

programmers_laugh

Dec 30th, 2021
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import os
  2. from time import sleep
  3.  
  4.  
  5. def clear():
  6.     if os.name == 'posix':
  7.         os.system('clear')
  8.     else:
  9.         os.system('cls')
  10.        
  11.  
  12. if __name__ == '__main__':
  13.    
  14.     while True:
  15.         clear()
  16.         print('😁')
  17.         sleep(0.7)
  18.         clear()
  19.         print('😆')
  20.         sleep(0.7)
  21.        
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement