Commit 8322a84f by BellCodeEditor

save project

parent d9ab456d
Showing with 14 additions and 6 deletions
y=input("石头,剪刀,布?")
print("玩家出拳"+";"+y)
he=input("石头/剪刀/布?")
print("玩家出拳:"+he)
import random
list=["石头","剪刀","布"]
computer=random.choice(list)
print(computer)
\ No newline at end of file
list=["石头","剪刀","布"]
random.choice(list)
QQ=random.choice(list)
print("计算机出拳:"+QQ)
if he==QQ:
print("平局")
elif (he=="石头" and QQ=="剪刀") or (he=="剪刀" and QQ=="布") or (he=="布" and QQ=="石头"):
print("你赢了")
else:
print("你输了")
\ No newline at end of file
gffg=input("星星要?色")
import turtle
pen=turtle.Pen()
pen.fillcolor(gffg)
pen.begin_fill()
......
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