Q150
What will be the output of the following Python code? def foo(): return total + 1 total = 0 print(foo())
A.
0
B.
1
AnswerC.
error
D.
none of the mentioned
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board