Use of \n in python

print(10* str(int(v4)+int(v5))\n)
I want to add “\n” so that it could print sum in the next line every time but I am getting an error, can you tell me how to resolve this?

Use google for such questions, complete syntax for print function is
print (object(s) , sep= separator , end= end , file= file , flush= flush )

You can print it like

print(10* str(int(v4)+int(v5)), end='\n')



Here I wanted to print output as
88 and so on
but according to yours, it is printing hello world in the next line

print(10* (str(int(v4)+int(v5))+"\n"))

do This