How to draw shapes with given sides in edublocks python
Автор: All In This Channel
Загружено: 2023-04-06
Просмотров: 606
the code is:-
from turtle import *
turtle = Turtle()
screen = Screen()
screen.bgcolor(255,100, 0)
side = int(input("Write the sides number?"))
for i in range(side):
turtle.forward(50)
turtle.left(360 / side)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: