Commit a205afc6 by BellCodeEditor

auto save

parent 1a9af2ca
Showing with 17 additions and 0 deletions
a=int(input("请输入长方形的长"))
b=int(input("请输入长方形的宽"))
c=a*2+b*2
d=a*b
print("长方形的周长是",c,"长方形的面积是",d)
\ No newline at end of file
import turtle
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
\ 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