Commit d08c5d6c by BellCodeEditor

save project

parent 220fe62b
Showing with 20 additions and 0 deletions
import random
player = input("?")
print("player GO!" + player)
list = ["石头""剪刀""布"]
com = random.choice()
print("com. GO!" + com)
if plyers == com:
print("平!")
elif (players == "布" and com == "剪刀") or (playrs == "石头" and com == "布") or (playrs == "剪刀" and com == "石头"):
print("com. WIN!")
else:
print("players. WIN!")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment