Commit 87b5e3e3 by BellCodeEditor

save project

parent cdb7adcc
Showing with 9 additions and 3 deletions
# 玩家出拳
import random
player=input("请出拳")
print("玩家出拳:"+player)
# 电脑出拳
import random
list=["剪刀","石头","布"]
computer=random.choice(list)
print("玩家出拳:"+player)
print("电脑出拳:"+computer)
if player in list:
if player==computer:
......
import turtle
pen=turtle.Pen()
pen.write("马克老师,你好",font=("Times",30,"normal"))
pen.hideturtle()
turtle.done()
\ 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