Python lessons from scratch / #18 – Constructors, method overriding

Опубликовано: 28 Март 2026
на канале: Школа програмування
14,307
605

To quickly set data when creating an object, you can use constructors. In this lesson, we will learn how to create and use constructors for classes in Python. In addition, we will study the topic of method overriding.

✅ Useful links:
– Lesson on the itProger website: https://itproger.com/ua/course/python/18

⏰ Time codes:
00:00 - Start
00:17 - What is a constructor?

00:45 - Creating a constructor
02:30 - Data transfer
04:20 - Outputting information
05:55 - Overriding methods
09:33 - Final part

✔ Programming school: https://itproger.com

✔ -------------
🔥 Telegram: https://t.me/+12cHirBfJ8xmMDUy
Instagram:   / itproger.code  
Twitter:   / goshadudar  

#lessons #programming