17.
What will the following code output:
string = "Python"
print(string.lower())

19.
What does the isalpha() method of a string object check for?

20.
What is the output of the following code:
string = "Python"
print(string[1:])

Read More Section(Strings in Python)

Each Section contains maximum 100 MCQs question on Strings in Python. To get more questions visit other sections.