Evolution to Advanced Coding : Any Kid Can Code

Object Oriented Programming in Python

Laxman Singh
The Startup

--

Python — OOP

This is yet another addition to the knowledge sessions for kid to explore and learn in programming language. So, we are advancing to the next level with every time we practice. And, now the time is there to learn more advanced topics in programming language.

PYTHON IS OBJECT ORIENTED PROGRAMMING LANGUAGE.
What does this mean? In python, everything is an object and object has one good thing they can be assigned to variable and instance can be created for the objects.

What is OOP (Object oriented programming)?
OOP is the concept which preaches to create objects. And, objects contains their own properties and functions. Let us correlate this to real life, any object like computer mouse, has its own properties and functions. Properties: mouse has button (right/left), it has scroller on top etc. Functions: move cursor, click, scroll etc. I hope it makes easy to correlate coding to real life examples.
Here in programming, object is created as instance of class which is created using keyword “class” and then, inside class we can create different variables and…

--

--

Laxman Singh
The Startup

Machine Learning Engineer | Data Science | MTECH NUS, Singapore