people can make each and everything with programming

 


As i have start with python language i feel very good. When i know basic programming i think i have done with programming but that's not true there is many other things remaining to do then i have start learning OOP (object oriented programing) where i learn how to how define peoples in programming that's was very interested but it was a very hard to learn and think about each and everything  .







where i learn class?

 why we use class ?

In Class we have to define attributes and methods to write information about any thing  for example we are making class for people then what things to be needed ?

every people have a

Name: Ali ->attribute

Color:  white->attribute

age:12->attribute

date_of_birth:208 ->attribute

and it has methods 

a man can walk ->method

a man can talk ->method

a man can eat ->method

etc.

that's was vey interesting




Comments