July 2023 1 8 Report
Import turtle
board = turtle.Turtle()

board.speed(0)
board.color("red")
board.up()
board.goto(-150, 100)
board.down()

board.pensize(5)
for i in range(2):
board.forward(300)
board.right(90)
board.forward(200)
board.right(90)

board.hideturtle()

ball = turtle.Turtle()
ball.shape('circle')

x = 0
dx = 2
while True:
if x > 150 or x < -150:
dx = -dx

x = x + dx
ball.goto(x, 0) Допоможіть найти помилку щоб намалювати мяч в програмі ПАйтон
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.