Commit f7391a06 by BellCodeEditor

save project

parent 7eb0d359
Showing with 6 additions and 9 deletions
player = input("请出拳(石头/剪刀/布):") a=['吕布']
player("玩家出拳:"+player) b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
c=b[1:3]
a.extend(c)
import random print(a)
list=["石头","剪刀","布"] \ No newline at end of file
computer=random.choice(list)
print(computer)
\ 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