View Categories

Code-Python (en)

6 Docs

Class (en)

Last Updated: 2026-09-04

The basics of Python classes: a class is the blueprint for objects, holding attributes and methods. Also covers the difference between class/instance variables and methods.

Class inheritance (extend) and overriding (en)

Last Updated: 2026-09-04

A complete example of Python class inheritance (extend) and method overriding — Manager inherits from Employee and overrides get_employee_info, and Department manages staff with class methods.

datatype-list (en)

Last Updated: 2026-09-04

list is Python's most common container. Wrapped in square brackets [], its items can be changed, can repeat, and keep their insertion order.

datatype-set (en)

Last Updated: 2026-09-04

A set stores unique, unordered elements. Use it to check membership or drop duplicates.

datatype-tuple (en)

Last Updated: 2026-09-04

A tuple is an ordered, immutable collection in Python, written with parentheses (). It's like a list, but you can't change it once it's created.

Loop-for loop (en)

Last Updated: 2026-09-04

8 progressive Python for loop examples, from range() basics to list comprehensions.

Scroll to Top