Python - File Reading and Writing Strategies
Which of the following is the correct way to write a string that spans multiple lines in Python?
'''This is a\nmulti-line string''' correctly uses triple quotes to write a multi-line string. Other options misuse quotes or syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions