Tag: python


Generators in python: How to use Generators and yield in Python

A generator is a function which is responsible to generate a sequence of values. It can be written like a …

Decorators in Python: Extending functionality of a function

Decorators are one of the most powerful concepts in python. A decorator is a function which takes another function or …

Walrus operator in Python

Walrus operator (:=) is used as an assignment operator. It assigns value to a variable and also returns the value. It …