#33 - Iterators and Generators in Python

Опубликовано: 14 Июль 2023
на канале: Praveen Nair
48
3

Generator is a special type of function which returns an iterator object with a sequence of values. Iterator saves resources. Only one element is stored in the memory at a time. unlike list or tuple where all the values are stored at once.

#python #generator #iterator #pythonforbeginners #pythontutorial


Смотрите видео #33 - Iterators and Generators in Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Praveen Nair 14 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 48 раз и оно понравилось 3 людям.