@eevee444/

Excuse Generator

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.9472073357188462","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IHJhbmRvbQppbXBvcnQgdGltZQpzdGFydCA9IFsnTXkgbW90aGVyICcsICdNeSBwaW5reSB0b2UgJywgJ0FuIGluc2VjdCAnLCAnVGhlIHRvaWxldCAnLCAnVGhlIGNsYXNzIHBldCddCnBhcnQxID0gcmFuZG9tLnJhbmRpbnQoMCwgbGVuKHN0YXJ0KSAtIDEpCm1pZGRsZSA9IFsndG9yZSB1cCAnLCAnc21vb3NoZWQgJywgJ2FubmV4ZWQgJywgJ2hhcyBkZXN0cm95ZWQgJywgJ2ZsdXNoZWQnXQpwYXJ0MiA9IHJhbmRvbS5yYW5kaW50KDAsIGxlbihtaWRkbGUpIC0gMSkKZW5kID0gWydteSBob21ld29yaycsICd5b3VyIG1vbmV5JywgJ3RoYXQgcmFuZG9tIGd1eSBvdmVyIHRoZXJlJywgJ215IGx1bmNoJywgXQpwYXJ0MyA9IHJhbmRvbS5yYW5kaW50KDAsIGxlbihlbmQpIC0xKQpwcmludCgnfn5+fn5+fn5+fn5+fn5+ficpCnByaW50KCdFeGN1c2UgR2VuZXJhdG9yJykKcHJpbnQoJ35+fn5+fn5+fn5+fn5+fn4nKQpwcmludCgnJykKdGltZS5zbGVlcCgxLjUpCnByaW50KCdZb3VyIGV4Y3VzZTogJyArIHN0YXJ0W3BhcnQxXSArIG1pZGRsZVtwYXJ0Ml0gKyBlbmRbcGFydDNdKQo="},"asBuffer":null},"loaded":true}}
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])