0

How to insert a newline between those two results ?

a = input ("first number input") b = input ("second number input") print int(a) + int(b) here print int(a) - int(b)

14th Aug 2016, 1:37 PM
Inferno Club
Inferno Club - avatar
12 Respostas
+ 2
just type ....... print() for a blank line...
15th Aug 2016, 8:02 AM
Aakash Sharma
Aakash Sharma - avatar
+ 2
did you gave it to me.
15th Aug 2016, 9:21 AM
Aakash Sharma
Aakash Sharma - avatar
+ 1
I think forward slash together with n
14th Aug 2016, 2:17 PM
sah
+ 1
sorry I was supposed to say backward slash together with n
14th Aug 2016, 2:18 PM
sah
+ 1
print 'int(a)+int(b) \n int(a)-int(b)'
14th Aug 2016, 3:56 PM
Renee LF
+ 1
a = input("enterA") b = input("enterB") print(int(a)+int(b)) print ("\n") print (int(a)-int(b))
14th Aug 2016, 10:40 PM
Renee LF
+ 1
whome two...
15th Aug 2016, 9:31 AM
Aakash Sharma
Aakash Sharma - avatar
0
I tried it just now but because it's under quotes it reads it like if it was text. (I'm french, so don't worry if you find errors.)
14th Aug 2016, 5:20 PM
Inferno Club
Inferno Club - avatar
0
Thank you very much !
15th Aug 2016, 9:18 AM
Inferno Club
Inferno Club - avatar
0
to you two.
15th Aug 2016, 9:29 AM
Inferno Club
Inferno Club - avatar
0
a = input() b = input() print(int(a) + int(b),"\n",int(a) - int(b))
15th Aug 2016, 9:34 AM
Inferno Club
Inferno Club - avatar
0
please ask some another questions
15th Aug 2016, 10:32 AM
Aakash Sharma
Aakash Sharma - avatar