Directory to my week 5 Python Assignment. Design Your Own Class! ๐๏ธ Create a class representing anything you like (a Smartphone, Book, or even a Superhero!). Add attributes and methods to bring the class to life! Use constructors to initialize each object with unique values. Add an inheritance layer to explore polymorphism or encapsulation.
Polymorphism Challenge! ๐ญ
Create a program that includes animals or vehicles with the same action (like move()). However, make each class define move() differently (for example, Car.move() prints "Driving" ๐, while Plane.move() prints "Flying"