Commit fb240375 by BellCodeEditor

auto save

parent 61da267e
Showing with 37 additions and 3 deletions
for i in range(20,81,2):
print(i)
\ No newline at end of file
a="3"
print(type(a))
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# distance+=1 # distance+=1
# pen.right(121) # pen.right(121)
# # 隐藏画笔,保存画布 # # 隐藏画笔,保存画布
'''
import turtle import turtle
p=turtle.Pen() p=turtle.Pen()
colors=["red","yellow","green","pink"] colors=["red","yellow","green","pink"]
...@@ -25,4 +25,4 @@ for i in range(1,1000): ...@@ -25,4 +25,4 @@ for i in range(1,1000):
p.forward(i) p.forward(i)
p.left(91) p.left(91)
p.hideturtle() p.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file \ No newline at end of file
import turtle
p=turtle.Pen()
# for i in range(20,81,2):
# p.forward(i)
# p.left(60)
bc=20
while bc<81:
p.forward(bc)
p.left(60)
bc=bc+2
turtle.done()
a="3"
print(type(a))
b=4
print(type(b))
c=3.0
print(type(c))
d=input("请输入一个数字:")
print(d)
print(type(d))
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