검색 결과: "#pythonoop"

10 개 결과
Anjali
Anjali@achieve71246717·
Day 07/180 of ML Class variable vs Instance variable — simplified class Student: school = "ABC" # CLASS var → shared by ALL def __init__(self, name): self.name = name # INSTANCE var → unique per object #Python #PythonOOP #LearnPython
Anjali tweet media
English
0
0
5
49
Dev Pirate
Dev Pirate@dev_pirates·
Day 7 – OOP Concepts Refresh Revisited: Inheritance Polymorphism Code reusability AI code also needs: clean design > quick hacks Old concepts suddenly feel very relevant again. #Day7 #PythonOOP #GenAI
English
0
0
0
12
Jamaal.py
Jamaal.py@Jamaalolaar·
The "scan_all" took me the most time to figure out. I also got to learn about 'yield'. Apparently, a function doesn't need to stop after passing a value. #pythonoop #pythoncodes
English
0
0
0
14
Rohit Kumar Srivastava
Rohit Kumar Srivastava@itsrohit_tech·
"Encapsulation = bundling data + functions (methods) inside a class. It hides internal details from the outside world and exposes only what’s necessary. This protects your data, reduces complexity, and keeps your code modular, and safe. Code smart, not exposed. 🔐 #pythonoop
English
0
0
0
132