#Turtle is a class.
#timmy and my_screen are variables
#shape and color are methods
#if we give object.method
#if we give object.variable we need to give print function.
import turtle
from turtle import Turtle,Screen
timmy = turtle.Turtle()
#turtle draw squre
timmy.shape("turtle")
timmy.color("red","blue")
timmy.forward(100)
timmy.right(90)
timmy.forward(100)
timmy.right(90)
timmy.forward(100)
timmy.right(90)
timmy.forward(100)


my_screen = Screen()
my_screen.canvheight
print(my_screen.canvheight)
my_screen.exitonclick()
