#python #coding #programming
# Generator Expression = Similar to a list comprehension but uses () instead of []
# Creates a generator (iterator) that yields values one at a time
# No need to define a function or use yield
# Less flexible than a gen func and not reusable
# gen object = (expression for value in iterable if condition)
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.