Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- window = turtle.Screen()
- t = turtle.Turtle()
- a = int(input())
- t.forward(a)
- t.right(90)
- t.forward(a)
- t.right(90)
- t.forward(a)
- t.right(90)
- t.forward(a)
- print("Я построил квадрат со стороной:", a)
- turtle.done()
Advertisement
Add Comment
Please, Sign In to add comment