String in Python Quiz 10

Share with others

Welcome to your String in Python Quiz 10

Q91. split( ) function returns the _______________of words delimited by the specified substring.

Q92. If no delimiter is given in split( ) function then words are separated by ____________

Q93. Write the output of the following:

"python".join("@")

Q94. Write the output of the following:

"@".join("python")

Q95. Write the output of the following:

>>> len(" python".lstrip()) #2 spaces are given before "python"

Q96. Which of the following function removes only leading spaces from the string?

Q97. Which of the following function can take maximum three arguments/parameters?

Q98. Which of the following function return the integer value?

Q99. Which of the following is not an inbuilt function of string?

Q100. Which function in the following statement will execute first?

print("amit".lower().upper())


Share with others

Leave a Reply

error: Content is protected !!