Q44
What will be the output of the following Python code? #generator def f(x): yield x+1 g=f(8) print(next(g))
A.
8
B.
9
AnswerC.
7
D.
Error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board