Answers for "code to start turtle"

1

turtle beginner python

import turtle
satya = turtle.Turtle()
maan = turtle.Turtle()
#for my satya object
satya.shape("turtle")
satya.color('blue')
distance = 100
satya.forward(distance)
#for my maan object
maan.goto(10,200)


screen = turtle.Screen()
screen.exitonclick()
Posted by: Guest on September-03-2021
-2

how to setup Turtle python

import turtle
win = turtle.Screen()
win.bgcolor("black")
win.setup(Height=800, length=500)
win.title("setup")
Posted by: Guest on October-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language