MCQ Single Best Answer Not Set

QWhat will be the output after the following statement?
print(r'Today is a \n nice day')

ID: #4042 String Formatting in Python 266 views
Question Info
#4042Q ID
Not SetDifficulty
String Formatting in PythonTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Today is a \n nice day
  • B Today is a nice day
  • C Today is a nice day
  • D 'Today is a \n nice day'
Correct Answer: Option A

Explanation

Today is a \n nice day

Share This Question

Challenge a friend or share with your study group.