0
How to start a new line in python
New line
5 Answers
+ 3
Is this what you mean?
print("line1\nline2")
+ 1
Thanks
0
https://www.google.com/imgres?imgurl=https%3A%2F%2Fwww.bestprog.net%2Fwp-content%2Fuploads%2F2019%2F11%2F11_01_02_01_06_02_table_e.jpg&imgrefurl=https%3A%2F%2Fwww.bestprog.net%2Fen%2F2019%2F11%2F06%2Fpython-strings-escape-sequences-unformatted-strings-multiline-text-blocks%2F&docid=FDMLZXspu7rexM&tbnid=xMsDtew3q7yB9M%3A&vet=1&w=943&h=599&hl=en-US&source=sh%2Fx%2Fim
Just take a look at all escape sequences
0
How to add a new line in an input string
0
Sai Shreyansh
Can you give an example of what you mean for clarity