📜  如何在python代码示例中制作游戏

📅  最后修改于: 2022-03-11 14:45:49.198000             🧑  作者: Mango

代码示例2
#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')