Python Questions and Answers – Strings
Sign in to Google to save your progress. Learn more
Name of the Student *
Name of KV *
Class *
1. What will be the output of the following Python statement?                                                                                                      >>>"a"+"bc" *
1 point
2. What will be the output of the following Python statement?                                                                                                                       >>>"abcd"[2:] *
1 point
3.What will be the output of the following Python code?                                                          >>>str1="helloworld"                                                                       >>>str1[::-1] *
1 point
4. print(0xA + 0xB + 0xC): *
1 point
5.What will be the output of the following Python code? *
1 point
Captionless Image
6.What will be the output of the following Python code?                                                                                                             >>>max("what are you") *
1 point
7. What will be the output of the following Python code?                                                                                               >>>example = "helle"                                                          >>>example.find("e") *
1 point
8.Say s=”hello” what will be the return value of type(s)? *
1 point
9.What will be the output of the following Python code?                                                                                                                 print("abc DEF".capitalize()) *
1 point
10.What will be the output of the following Python code? *
1 point
Captionless Image
11. What will be the output of the following Python code? *
1 point
Captionless Image
12.What will be the output of the following Python code? *
1 point
Captionless Image
13.What will be the output of the following Python code? *
1 point
Captionless Image
14.What will be the output of the following Python code snippet? *
1 point
Captionless Image
15.Guess the correct output of the following code? *
1 point
Captionless Image
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy