How can i print without "\n
" and with parameters
Example:
Print this : print("%d, %d" % (a, b))
without newline
I tried this (but don't work): print("%d, %d" % (a, b),end="")
I have this :
File "./test.py", line 9
print("%d, %d" % (a, b), end="")
^
SyntaxError: invalid syntax