repl.it
@dotcomboom/

HatefulStarryDeveloper

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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import random

bold = '\033[1m'
end = '\033[0m'
stars = ['⭐', '🌟', '🌠', '✨']

def liner():
    msg = ''
    for i in range(1, 30):
        msg += stars[random.randint(0, 2)] + ' '
    print(msg)

liner()
print()
print("   " + bold + "I hate dust!" + end + " I don't want it building up in my home.")
print()
liner()

for i in range(1, 5):
    print()

for row in range (1, 15):
    msg = ''
    for column in range (1, 15):
        if random.randint(0, 1) == 1:
            msg += stars[random.randint(0, 2)] + '   '
        else:
            msg += '  '
    print(msg)