Write the output of the
following python code:
text = "Test.\n Next line." =
print (text)
Answers
Answered by
1
Answer:
Test.
Next line.
Explanation:
this is because \n will go to the new line in python there for givin' that result.
hope it helped ya.
Answered by
2
Answer:-
Given code,
text = "Test.\n Next line."
print (text)
Output will be,
Text
Next line.
As there is an escape sequence present i.e., \n so it will go to the next line.
Similar questions