Froggy Jumps Python Strings QuizOnline version Test your knowledge about strings in Python with this quiz game! by eli7.photo@gmail.com 1 What is the correct way to create a string in Python? a my_string = 'Hello World' b my_string = (Hello World) c my_string = [Hello World] 2 How can you access individual characters in a string? a my_string.charAt(0) b my_string.char(0) c my_string[0] 3 Which method is used to concatenate two strings in Python? a my_string.concat(' Python') b my_string.append(' Python') c my_string + ' Python' 4 What does the len() function return when applied to a string? a The first character of the string b The length of the string c The last character of the string 5 How can you convert a string to uppercase in Python? a my_string.upper() b my_string.toUpper() c my_string.toUpperCase() 6 Which operator is used to repeat a string in Python? a my_string * 3 b my_string.repeat(3) c my_string.multiply(3) 7 How can you check if a string contains a specific substring in Python? a my_string.includes('Python') b 'Python' in my_string c my_string.contains('Python') 8 Which method is used to remove leading and trailing whitespaces from a string? a my_string.clean() b my_string.strip() c my_string.trim() 9 What is the result of 'Hello'.replace('l', 'z')? a 'Hezlo' b 'Hello' c 'Hezzo'