Answers for "python turtle square size"

4

python turtle square

import turtle

turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
Posted by: Guest on April-27-2020
0

how to change size of turtle in python

from turtle import Turtle
my_turtle = Turtle()


my_turtle.shapesize(1,5) # You need to include width and height. 
#1 is equal to 20 pixels, so 5 is equal to 100 pixels.
Posted by: Guest on February-09-2022

Python Answers by Framework

Browse Popular Code Answers by Language