How create new line in pyton | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How create new line in pyton

7th Feb 2017, 1:25 PM
ramin
ramin - avatar
7 Answers
+ 8
You could use: print("First line") print("Second line") or you could use a triple quote: print('''First line Second line''') •_•
7th Feb 2017, 2:06 PM
Caleb Jore
Caleb Jore - avatar
+ 2
\n
7th Feb 2017, 2:24 PM
Yunus Kaya
Yunus Kaya - avatar
+ 1
print("line one\nline two")
7th Feb 2017, 5:15 PM
ramzi
ramzi - avatar
+ 1
\n or enter
9th Feb 2017, 5:47 PM
mahdi
+ 1
print("\n")
17th Feb 2017, 7:19 PM
shivam singhal
shivam singhal - avatar
0
which programming languages is useful for electrical engineering tnx for your comments
7th Feb 2017, 7:08 PM
ramin
ramin - avatar
- 1
Python is easy to use. Just simply push enter and there's your new line to create a command on.
7th Feb 2017, 4:04 PM
Dosage Gaming (JJ)
Dosage Gaming (JJ) - avatar