Commit 658cc37b by BellCodeEditor

save project

parent efeb0753
Showing with 9 additions and 6 deletions
# 玩家出拳 # 玩家出拳
"""str=input("你想出什么呀?石头、剪刀、布?") """
print("玩家出拳:"+str) str=input("你想出什麽呀?石頭/剪刀/佈?")
print("玩家出拳:"+str)
"""
import random import random
list=["石头","剪刀","布"] list=["剪刀","石头","布"]
computer=random.choise(list) computer=random.choice(list)
print("电脑出拳:"+computer) print("电脑出拳:"+computer)
\ No newline at end of file \ 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