Select the correct statements regarding the differences between a normal function and a generator function. (select 2)
Select the correct statements regarding the differences between a normal function and a generator function. (select two)
a. The generator function contains one or more yield statements.
b. There is no difference between a normal function and a generator function.
c. When invoked, the generator function returns an iterable object automatically implementing methods such as __iter__()
and __next__()
.