python String Questions & Answers

Question 1: Given s='Hello. How are you?', which of the following expression will return 'How'?

Question 2: Which of the following will result in True?

Question 3: Which function should be used to change 'how are you?' to 'How Are You?',

ADVERTISEMENT

Question 4: Which symbol is not defined as a string operator?

Question 5: The find('H') function over a string 'TutorialsTeacher' will return _____.