Commit cded0e45 by BellCodeEditor

save project

parent 4c282fd4
Showing with 4 additions and 1 deletions
...@@ -2,7 +2,7 @@ list=['石',"剪","布"] ...@@ -2,7 +2,7 @@ list=['石',"剪","布"]
import random import random
while True: while True:
play = input("出拳") play = input("出拳")
if pliy in list: if play in list:
print("play"+play) print("play"+play)
list=['石',"剪","布"] list=['石',"剪","布"]
cumputer=random.choice(list) cumputer=random.choice(list)
...@@ -13,3 +13,5 @@ while True: ...@@ -13,3 +13,5 @@ while True:
print("贏") print("贏")
else: else:
print("輸") print("輸")
else:
print("输错了")
\ 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