Commit f7391a06 by BellCodeEditor

save project

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