Commit f20095d7 by BellCodeEditor

auto save

parent fa0dff60
Showing with 23 additions and 0 deletions
c=input('请输入长度:')
k=input('请输入宽度:')
mianji=int(c)*int(k)
print('长方形的面积是:',mianji)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.color('red')
pen.fillcolor('red') # 填充颜色
pen.begin_fill()
for i in range(5): # 绘制图形
pen.forward(200)
pen.right(144)
pen.end_fill()
pen.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