gs gs109 Python Strings - Python Strings - Quiz No.2
gs gs109 Python Quiz
This quiz belongs to book/course code gs gs109 Python of gs organization. We have 134 quizzes available related to the book/course Python. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Python Strings. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
Question 4: What will be the output of the following Python code?
>>>example = "snow world" >>>example[3] = 's' >>>print example
snow
snow world
Error
snos world
Question 10: To concatenate two strings to a third what statements are applicable?
s3 = s1 . s2
s3 = s1.add(s2)
s3 = s1.__add__(s2)
s3 = s1 * s2