Select the correct statement that differentiates a Generator from a Coroutine.

Questions & AnswersCategory: Programming LanguageSelect the correct statement that differentiates a Generator from a Coroutine.
Lokesh Kumar Staff asked 3 years ago

Select the correct statement that differentiates a Generator from a Coroutine.
a. Generators and Coroutines output values
b. Only Generators output values
c. Generators and Coroutines take input values
d. Only Coroutines take input values