MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following code? a=10 b=20 def change(): global b a=45 b=56 change() print(a) print(b) |
| A. | 10 56 |
| B. | 45 56 |
| C. | 10 20 |
| D. | Syntax Error |
| Answer» B. 45 56 | |