Charles Ma[Learning Python: From Zero to One]-Get Object Information-(14)When we get a reference to an object, how do we know what type the object is and what methods are there?Sep 22, 2023Sep 22, 2023
Charles Ma[Learning Python: From Zero to One]-Inheritance and Polymorphism-(13)In OOP programming, when we define a class, it can inherit from an existing class. The new class is called Subclass, and the inherited…Sep 20, 2023Sep 20, 2023
Charles Ma[Learning Python: From Zero to One]-Access Control(12)Inside a Class, there can be properties and methods, and external code can manipulate data by directly calling the instance variable…Sep 19, 2023Sep 19, 2023
Charles Ma[Learning Python: From Zero to One]-Object Oriented Programming-Class and Instance(11)Object Oriented Programming, or OOP for short, is a programming philosophy. OOP regards objects as the basic unit of programs. An object…Sep 18, 2023Sep 18, 2023
Charles Ma[Learning Python: From Zero to One]-Module-(10)In the development process of computer programs, as more and more program codes are written, the code in a file will become longer and…Sep 16, 20231Sep 16, 20231
Charles Ma[Learning Python: From Zero to One]-Functional Programming-(9)Functions are a kind of encapsulation supported by Python’s built-in support. By splitting large pieces of code into functions and calling…Sep 10, 2023Sep 10, 2023
Charles Ma[Learning Python: From Zero to One]-Advanced Features-(8)After mastering the data types, statements and functions of Python, you can basically write many useful programs.Sep 9, 2023Sep 9, 2023
Charles Ma[Learning Python: From Zero to One]-Function Parameters-(7)When defining a function, we determine the names and positions of the parameters, and the interface definition of the function is…Sep 4, 2023Sep 4, 2023
Charles Ma[Learning Python: From Zero to One]-Functions -(6)We know that the formula for calculating the area of a circle is:Sep 3, 2023Sep 3, 2023
Charles Ma[Learning Python: From Zero to One]-Python Basics-(5)Learn to Use List, Tuple, Dict, and Set, Control Flow Tools and Loops.Sep 1, 2023Sep 1, 2023