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
# score list | |
Score = [] | |
#loop 5 times, | |
#just to accept input from user | |
#append the user input to score list | |
for i in range(5): | |
currentScore = int(input("Please enter score: ")) | |
Score.append(currentScore) |
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
#!/usr/bin/python3 | |
# Hangman game | |
import random | |
class HangMan(object): | |
# Hangman game | |
hang = [] | |
hang.append(' +---+') |
NewerOlder