Python New Line

Python Program to illustrate New line in print using " "

Try your Solution

Strongly recommended to Solve it on your own, Don't directly go to the solution given below.

#write your code here

Program or Solution

				
			
					
num1=int(input("Enter a First Number:"))
num2=int(input("Enter a Second Number:"))
print("{0}\n{1}".format(num1,num2))

			
				
			

Program Explanation

" " is specifies for new line.

Comments