What if I want to jump from one line to another.. or in other words need to skip a line so that I separate them. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What if I want to jump from one line to another.. or in other words need to skip a line so that I separate them.

print("books") print("pencils") print ("cards")

20th Apr 2020, 9:32 AM
Tonny
Tonny - avatar
4 Answers
+ 3
The quality of an answer largely depends on how well the question was asked. So please provide us with an apropriate sample and a description. Is there a dependency between the number and the folloeing text?
20th Apr 2020, 12:40 PM
Lothar
Lothar - avatar
+ 2
Can you give us an example of what your input looks like, and how you want your output to look like. Also please share your code so we may see the problem
20th Apr 2020, 10:46 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
I think you understood wrong, Q. let's say I need to print books, pencils & cards,and I have used \n backslash so on a play ground what I wanted is to skip those numbers e.g ¹ 1 2 5 7 like that..
20th Apr 2020, 9:41 AM
Tonny
Tonny - avatar
0
But after skip why is output still squized together....
20th Apr 2020, 10:41 AM
Tonny
Tonny - avatar