<reponame>ThiagoPiovesan/OOP-Python
#--------------------------------------------------------------------#
# Seventh program: OOP Principles Explained with Examples
# Created by: Jim - https://youtu.be/ZVTuWsrjvyU
# Changed by: <NAME>
# Objective: Learning about Encapsulation, Abstraction, Inheritance and Polymorphism.
#--------------------------------------------------------------------#

name = "Piovesan"                       # str
print(len(name))

some_list = ["Thiago","Piovesan"]       # list
print(len(some_list))

# That's polymorphism in action, a single function does now
# how to handle different kinds of objects as expected!
#--------------------------------------------------------------------#

#--------------------------------------------------------------------#
# Seventh program: OOP Principles Explained with Examples
# Created by: Jim - https://youtu.be/ZVTuWsrjvyU
# Changed by: <NAME>
# Objective: Learning about Encapsulation, Abstraction, Inheritance and Polymorphism.
#--------------------------------------------------------------------#

name = "Piovesan"                       # str
print(len(name))

some_list = ["Thiago","Piovesan"]       # list
print(len(some_list))

# That's polymorphism in action, a single function does now
# how to handle different kinds of objects as expected!
#--------------------------------------------------------------------#
#--------------------------------------------------------------------# # Seventh program: OOP Principles Explained with Examples # Created by: Jim - https://youtu.be/ZVTuWsrjvyU # Changed by: <NAME> # Objective: Learning about Encapsulation, Abstraction, Inheritance and Polymorphism. #--------------------------------------------------------------------# # str # list # That's polymorphism in action, a single function does now # how to handle different kinds of objects as expected! #--------------------------------------------------------------------#