Intermediate - Object Oriented Programming (OOP)

#Why do we need OOP and how does it work?

<aside> ✅ Object Oriented Programming (OOP) helps us to have benefit

#How to use OOP: Classes and Objects

How to model a real object?

<aside> ✅ Waiter: (real world object)

#Constructing Objects and Accessing their Attributes and Methods

<aside> ✅ Car

turtle - Turtle graphics - Python 3.10.2 documentation

day16 practice code:

#Option 1:
import turtle
tinny = turtle.Turtle()

#Option 2:
from turtle import Turtle, Screen
tinny = Turtle()
tinny.shape("turtle")
tinny.color("red","green")

#docs.python.org/3/library/turtle.html
myScreen = Screen()
print(myScreen.canvheight)
myScreen.exitonclick()

How to Add Python Packages and use Pypi

PyPI · The Python Package Index

Practice Modifying Objects Attributes and Calling Methods