Python Property
Python has a great concept called property, which makes the life of an object oriented programmer much simpler. Before defining and going into details...
Python Objects and Class
Python is an object oriented programming language. Unlike procedure oriented programming, in which the main emphasis is on functions, object oriented programming stress on...
Python Operator Overloading
Python operators work for built-in classes. But same operator behaves differently with different types. For example, the + operator will, perform arithmetic addition on...
Python Generators
There was a lot of overhead in building an iterator in Python; we had to implement a class with__iter__() and __next__() method, keep track...
Python Condition
Python if...elif...else and Nested if
Decision making is required when we want to execute a code only if a certain condition is satisfied. The if…elif…else statement...