MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following code? def foo(): return total + 1 total = 0 print(foo()) |
| A. | 0 |
| B. | 1 |
| C. | error |
| D. | none of the mentioned |
| Answer» C. error | |