how to make a square box on python turtle ?

0 votes
asked Jan 8, 2019 by anonymous

1 Answer

0 votes
answered May 30, 2019 by Ryan (1,210 points)

This is what I would do

import turtle as t

for i in range(4):

    t.forward(100)

    t.left(90)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...