QuestionQ256

VerifiedComputer Programming and Python Fundamentals

Insert the correct code so the program generates the expected output.

Expected output:

Question Image

Code:

Question Image

Explanation

In Python, \n is the newline escape sequence within a string. Passing "Andy\nBrown" to print outputs Andy and Brown on separate lines.

Community Discussion

No comments yet. Be the first to start the discussion!