MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the below program ? x = 50 def func(x): print('x is', x) x = 2 print('Changed local x to', x) func(x) print('x is now', x) |
| A. | x is now 50 |
| B. | x is now 2 |
| C. | x is now 100 |
| D. | None of the mentioned |
| Answer» B. x is now 2 | |