Commit 56d2cc74 by BellCodeEditor

save project

parent 08660f54
Showing with 7 additions and 23 deletions
player=input("请出拳:石头/剪刀/布") username="python"
print=("玩家出拳:"+player) userpassword="123456"
name=input("请输入账号")
import random password=("请输入密码"
list=["石头"+"剪刀"+"布"] if name==username and password==userpassword
compurt=random.choice(list) print("登录成功")
print=("电脑出拳:"+compurt) \ No newline at end of file
import random
player=input(("请出拳):")
list=["石头","剪刀"",""]
compurt=random.choice(list)
print=("电脑出拳:"+compurt)
print=("玩家出拳:"+player)
if
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