Commit 9082d09b by BellCodeEditor

save project

parent f9b6bca9
for j in range(1,10):
for i in range(1,j+1):
print(i,"x",j,"=",(i*j),end=" ")
print()
\ No newline at end of file
import turtle
pen=turtle.Pen()
for i in range(1,300):
pen.forward(i)
pen.right(91)
turtle.hideturtle()
turtle.done()
\ No newline at end of file
for j in range(1,10):
for i in range(1,j+1):
print(i,"x",j,"=",(i*j),end=" ")
print()
\ No newline at end of file
# 悟空想画个六芒星魔法阵,主要的代码已写出,但这有bug,请你帮忙调试下~
import turtle import turtle
pen=turtle.Pen()
pen= turtle.Pen() for i in range(1,1000):
size=textinput("提示","你想要多大的魔法阵呀?") pen.forward(i)
pen.circle(size) pen.right(91)
pen.circle(size,360,3) turtle.hideturtle()
pen.circle(size,60) turtle.done()
pen.circle(size,360,3) \ No newline at end of file
turtle.done()
i=0
s=0
while True:
i+=1
s+=i
if i==3:
break
print(s)
\ No newline at end of file
bros=["刘备","关羽","张飞"]
for i in range(len(bros)):
print(bros[i])
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