Commit 80409cb3 by BellCodeEditor

save project

parent c0b5d117
Showing with 23 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("山",font=("Times",30,"normal"))
pe=turtle.Pen()
pe.left(45)
pe.forward(100)
pe.circle(50,180)
pe.right(90)
pe.circle(50,180)
pe.forward(100)
turtle.done()
\ No newline at end of file
import random
player=input("请出拳:")# 玩家出拳
print("玩家出拳:"+player)
a=["石头","剪刀","布"]
b=random.choice(a)
print("计算py机出拳:"+b)
\ 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