What is the purpose of the yield keyword in Python? - Study24x7
Social learning Network
21 Feb 2024 11:32 AM study24x7 study24x7

What is the purpose of the yield keyword in Python?

A

Return a value from a generator

B

Suspend the execution of a function

C

Define a generator expression

D

Create a coroutine

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles