Skip to content

Commit 8652f4e

Browse files
committed
adding second project
1 parent 3534cb6 commit 8652f4e

File tree

1 file changed

+9
-0
lines changed
  • Project 2 - Word Guessing Game

1 file changed

+9
-0
lines changed

Diff for: Project 2 - Word Guessing Game/main.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import random
2+
3+
userName = input("Please Enter Your Name : ")
4+
print(f'Welcome Mr. {userName}')
5+
6+
words = ['rainbow', 'butterfly', 'windows', 'programming', 'python', 'geekforgeeks', 'mathematics', 'amazing', 'alon']
7+
8+
word = random.choice(words)
9+
print(word)

0 commit comments

Comments
 (0)