repl.it
@eevee444/

Excuse Generator

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import random
import time
start = ['My mother ', 'My pinky toe ', 'An insect ', 'The toilet ', 'The class pet']
part1 = random.randint(0, len(start) - 1)
middle = ['tore up ', 'smooshed ', 'annexed ', 'has destroyed ', 'flushed']
part2 = random.randint(0, len(middle) - 1)
end = ['my homework', 'your money', 'that random guy over there', 'my lunch', ]
part3 = random.randint(0, len(end) -1)
print('~~~~~~~~~~~~~~~~')
print('Excuse Generator')
print('~~~~~~~~~~~~~~~~')
print('')
time.sleep(1.5)
print('Your excuse: ' + start[part1] + middle[part2] + end[part3])