Skip to content

Commit e9566ad

Browse files
committed
Adding Third Project
1 parent 7b663f1 commit e9566ad

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: Project 3 - Hungman Game/main.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import random
2+
3+
fruits = '''apple banana mango strawberry
4+
orange grape pineapple apricot lemon coconut watermelon
5+
cherry papaya berry peach lychee muskmelon'''
6+
7+
animals = '''tiger lion elephant leopord
8+
gorilla hyena panther camel alligator panda mole'''
9+
10+
word = fruits.split(" ")
11+
12+
word = random.choice(word)
13+
print(word)
14+
15+
if __name__ == '__main__' :
16+
print("Guess the Fruit Word!")
17+

0 commit comments

Comments
 (0)