Answers for "make a simple game in pygame"

0

how to make a game in python

#modules required - time and random
#Game 1
#Password game
import time
import random

Password = ['1', '2', 'a', 'G', '5', '89']

answer = input('Guess the password')
print(random.choice(Password)+' is the password')
Posted by: Guest on October-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language