

MCQOPTIONS
Saved Bookmarks
1. |
what will be the output of the followingPython code snippet?def example(a):a = a + '2'a = a*2return a>>>example("hello") |
A. | indentation error |
B. | cannot perform mathematical operation on strings |
C. | hello2 |
D. | hello2hello2 |
Answer» B. cannot perform mathematical operation on strings | |