What is decorators in python and meaning of iterable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is decorators in python and meaning of iterable?

Python

28th Jun 2020, 7:07 PM
Akash Gupta
Akash Gupta - avatar
2 Answers
+ 6
A decorator is a special function that modifies the behavior of another function. An iterable is a collection which you can loop over to get each element one by one. Both of these topics are covered in more detail in the Python lessons in the Functional Programming chapter.
28th Jun 2020, 7:18 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Thanks 👍
28th Jun 2020, 7:19 PM
Akash Gupta
Akash Gupta - avatar