@KK998/

Cheer for me!

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
an_letters = "aefhilmnorsxAEFHILMNORSX"

word = input("I will cheer for you! Enter a word: ")
times = int(input("Enthusiasm lever (1-10): "))
i = 0

while i < len(word):
  char = word[i]
  if char in an_letters:
    print("Give me an", char, "!",char)
  else:
    print("Give me a", char, "!",char)
  i+=1
print("What does that spell?")
for i in range(times):
  print(word,"!!!")