Back to Browse

How to draw shapes with given sides in edublocks python

765 views
Apr 6, 2023
4:22

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)

Download

0 formats

No download links available.

How to draw shapes with given sides in edublocks python | NatokHD