Q. How can you print multiple lines using print()?
Solution:
Using n adds a newline, so print(‘line1nline2’) prints on two lines.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Using n adds a newline, so print(‘line1nline2’) prints on two lines.
Strengthen Your Practice with our comprehensive question bank.