Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. What is the output of the following code ?

    example = "snow world"
    example[3] = 's'
    print example
  2. A.
    snow
    B.
    snow world
    C.
    Error
    D.
    snos world

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Strings cannot be modified.


Be The First To Comment