I have two variables say a=5
and b=10
.
I want to print them in new lines.
I tried print (a \n b)
print(a '\n' b)
print(a, '\n' b)
print (a + '\n' +b)
.
None of them works.
I can do print("a \n b")
if a and b are strings.
For integers, is printing like print(str(a)+"\n"+str(b))
the only way?
I guess there must be another decent way which I don't know.