Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Rectify the error (if any) in the given statements. >>>str = “Hello World” >>>str[5] = ‘p’

Answer» Strings are immutable. So convert to 2.

list > > >s = list (str)’p’)

>>s [5]=’p’