rc-chuah

hello

Dec 4th, 2020 (edited)
238
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. import sys
  3. import time
  4.  
  5. def clear():
  6.   os.system("clear || cls")
  7.   time.sleep(1)
  8.  
  9. def main():
  10.   while True:
  11.        print("Hello, World!")
  12.        time.sleep(1)
  13.        print("Hello, Program!")
  14.        time.sleep(1)
  15.        print("Hello, Project!")
  16.        time.sleep(1)
  17.  
  18. if __name__ == "__main__":
  19.   clear()
  20.   main()
Add Comment
Please, Sign In to add comment