3.3 notes, 3.2 questions, and 613 test file
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
It defines how types are related to each other and how they inherit attributes and behaviors from their parent types.\
|
||||
the type hierarchy in Python provides a structured organization of types, allowing for code reuse, inheritance, and polymorphism, which are fundamental principles of object-oriented programming.\
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
2. What is the difference between __repr__() and __str__()?\
|
||||
The __repr__() method is intended to provide a detailed and unambiguous representation of the object. It is primarily used for debugging and development purposes.\
|
||||
|
||||
Reference in New Issue
Block a user