Rohanrohansblog.hashnode.dev·Aug 11, 2024Generators vs ListsDifferences GeneratorsLists DefinitionThey are a function that return an Iterator. Generators are lazy iterators. They return an item only when requiredLists are a sequence type that can group together several items of different types in a sin...PythonAdd a thoughtful commentNo comments yetBe the first to start the conversation.