+ 1

Hi I m finding it difficult to change lines, how can I do that

I m in loop part of this training app

27th Mar 2017, 11:25 AM
Aman
2 ответов
+ 14
\n ^ that is newline in a string
27th Mar 2017, 11:39 AM
Ahri Fox
Ahri Fox - avatar
0
If you are asking about how to print the output on multiple lines, you can use either /n or use triple quotes Ex.1: print('Hello\nWorld') Ex.2: print('''Hello World''')
27th Mar 2017, 1:42 PM
Moataz El-Ibiary
Moataz El-Ibiary - avatar