Commit 7cc8adbb by BellCodeEditor

save project

parent 71e6213a
Showing with 12 additions and 0 deletions
...@@ -7,3 +7,6 @@ a=input('a') ...@@ -7,3 +7,6 @@ a=input('a')
b=input('b') b=input('b')
print(a+'+'+b +'='+str(int(a)+int(b))) print(a+'+'+b +'='+str(int(a)+int(b)))
a=input('a')
b=input('b')
print(a+'+'+b +'='+int(a)+int(b))
\ No newline at end of file
a=input('边长')
import turtle
pen=turtle.Pen()
for i in range(5):
pen.forward(int(a))
pen.right(144)
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