Commit 56d2cc74 by BellCodeEditor

save project

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