Advertisement
Guest User

ooflang2

a guest
Jan 23rd, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.58 KB | None | 0 0
  1. import time
  2. import random
  3.  
  4. def run_ooflang(script):
  5.   if script == "print(Hello oof)":
  6.     print("H", end="")
  7.     time.sleep(1000)
  8.     print("e", end="")
  9.     time.sleep(1000)
  10.     print("l", end="")
  11.     time.sleep(1000)    
  12.     print("l", end="")
  13.     time.sleep(1000)
  14.     print("o", end="")
  15.     time.sleep(1000)
  16.     if random.randint(0, 10) < 5:
  17.         print("\nSegfault trying to print space!")
  18.         quit()
  19.     print(" ", end="")
  20.     time.sleep(1000)
  21.     print("o", end="")
  22.     time.sleep(1000)
  23.     print("o", end="")
  24.     time.sleep(1000)
  25.     print("f")
  26.     time.sleep(1000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement