Commit 093a212c by BellCodeEditor

auto save

parent 39f436bc
Showing with 33 additions and 7 deletions
import turtle
pen=turtle.Pen()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle()
turtle.done()
\ No newline at end of file
player=input("请出拳:石头/剪刀/布")
print("玩家出拳:"+player)
import random
list=["石头","剪刀","布"]
computer=random.choice(list)
print(computer)
\ No newline at end of file
import turtle
Pen=turimporttle.Pen()
screen=turtle.Screen()
screen.bgcolor("light blue")
Pen.penup()
Pen.goto(100,-100)
Pen.write("诺依,turtle真好用,\n我会在画布上写字了!", font=("Times",25,"normal"))
Pen.hideturtle()
Pen1=turtle.Pen()
Pen1.pensize(5)
Pen1.pencolor("red")
Pen1.left(45)
Pen1.forward(100)
Pen1.circle(50,180)
Pen1.right(90)
Pen1.circle(50,180)
Pen1.forward(100)
Pen1.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