Created
September 17, 2022 08:28
-
-
Save arnvgh/9d7a9db0aea0294b8fbc8c651f7c828c to your computer and use it in GitHub Desktop.
Wishes Hppy Birthday to you
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from random import randint | |
for i in range(1, 100): | |
print(' ') | |
space = ' ' | |
for i in range(1, 1000): | |
count = randint(1, 99) | |
while (count > 0): | |
space += ' ' | |
count -= 1 | |
if (1 % 10==0): | |
print(space + '๐ฎ Happy Birthday! ๐') | |
elif (i % 9 == 0): | |
print(space + '๐') | |
elif (1 % 8 == 0): | |
print(space + '๐ ') | |
elif (i % 7 == 0): | |
print(space + '๐ ') | |
elif (i % 5 == 0): | |
print(space + ' ๐') | |
elif (i % 6 == 0): | |
print(space + '๐ฌHappy Birthday!') | |
elif (i % 4 == 0): | |
print(space + '๐ฎ') | |
space = ' ' | |
time.sleep(0.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple Python Script to wish you Happy Birthday ๐
Made to wish my friend happy Birthday ๐ฆ ๐ก