Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 719 Bytes

python.md

File metadata and controls

14 lines (8 loc) · 719 Bytes

Python: -

Iterable

is an object, which one can iterate over. It generates an Iterator when passed to iter() method. Iterator is an object, which is used to iterate over an iterable object using __next__() method. Iterators have __next__() method, which returns the next item of the object.

Decorators

are a very powerful and useful tool in Python since it allows programmers to modify the behaviour of function or class. Decorators allow us to wrap another function in order to extend the behaviour of the wrapped function, without permanently modifying it.

Special Thanks to: -