Sail E0 Webinar
Question
What is the output of the following code ?example = "snow world"example[3] = 's'print example
Options:
A .  snow
B .  snow world
C .  Error
D .  snos world
Answer: Option C


Strings cannot be modified.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers