Answer Posted / nashiinformaticssolutions
A generator is a type of iterable, like a list, but it generates items lazily using the `yield` keyword, improving memory efficiency.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the sleeping time of giraffe?
Can we override a constructor?
How are data types defined in python and how much bytes do integer and decimal data types hold?
Is python an oop?
python is case sensitive ?
Name few python web frameworks for developing web applications?
How many data types are there in python?
What is negative index in Python?
Which is fastest implementation of python?
What is the purpose of "self" in python
Is python based on c?
Is python interpreted language?
Does python support database programming?
Explain about indexing and slicing operation in sequences?
Is python string mutable?