Python Mcq Set 21/Python MCQs

Q1. What will be the output of the following Python code? #generator def f(x): yield x+1 g=f(8) print(next(g))

Question 1 of 21 (Total MCQS: 21 in paper Python Mcq Set 21)

@by R4R.CO.IN | Back to Python