Solved

Which of the Following Statements A), B) or C) Is

Question 4

Multiple Choice

Which of the following statements a) , b) or c) is false?


A) String method splitlines returns a list of strings representing the lines of text split at each newline character in the original string.
B) Python stores multi-line strings with embedded \n characters to represent the line breaks.
C) For the string lines = """This is line 1
This is line2
This is line3"""
The statement
Lines.splitlines(True)
Keeps the newlines and returns:
['This is line 1', '\nThis is line2', '\nThis is line3']
D) All of the above statements are true.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions