Commit 931a50d7 by BellCodeEditor

save project

parent 57ecd121
Showing with 6 additions and 5 deletions
import random import random
print(1==石头,2==剪刀,3==) print(1==石头,2==剪刀,3==)
"1"=石头 1=石头
"2"=剪刀 2=剪刀
"3"= 3=
player=input("请出拳:("1","2","3")")# 玩家出拳 player=input("请出拳:(1,2,3)")
print("玩家出拳:"+player) print("玩家出拳:"+player)
list=["1","2","3"] list=[1,2,3]
letter=random.choice(list) letter=random.choice(list)
print(letter) print(letter)
\ 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