Commit 23ccd9f8 by BellCodeEditor

auto save

parent 1311b95d
Showing with 415 additions and 7 deletions
name=['Jonh', 'Sam', 'Nina', 'Daming', 'Sally', 'Helen']
name.append('q')
name.append('w')
name.append('e')
print(name)
print(name[2:6])
import random
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)
lidf=["石头","布","剪刀"]
a=random.choice(lidf)
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