Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import random
- def print_x():
- print('sentence')
- def print_x2():
- print('sentence tretre')
- randomMethod = random.choice([print_x, print_x2])
- randomMethod()
- if random.randint(1, 100) >= 50:
- print_x()
- else:
- print_x2()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement