Q.

What will be the output of the following
Python code?
1. >>>example = "snow world"
2. >>>example[3] = 's'
3. >>>print example

A. snow
B. snow world
C. error
D. snos world
Answer» C. error
Explanation: strings cannot be modified.
1.1k
0
Do you find this helpful?
15

Discussion

No comments yet