Commit 0496c202 by BellCodeEditor

save project

parent ed6beae2
Showing with 4 additions and 0 deletions
#随机数库
import turtle import turtle
pen1 = turtle.Pen() pen1 = turtle.Pen()
pen1.penup() pen1.penup()
...@@ -16,6 +17,9 @@ pen.color("red") ...@@ -16,6 +17,9 @@ pen.color("red")
# 设置画笔粗细 # 设置画笔粗细
pen.pensize(10) pen.pensize(10)
# 画爱心 # 画爱心
#设圆的半径为len
#随机数法
#len = int(input("输入圆的半径:"))
pen.left(45) pen.left(45)
# 正方形边长为圆的直径:2*len # 正方形边长为圆的直径:2*len
# fd = forword # fd = forword
......
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