Other way? Keeping your code readable is the best of things. What you can do is format the print statement (example below):
Update: here is a working example for both python2 and python 3
from __future__ import division # use this if python2
a = int(input()) # in python2 input() is sufficient
b = int(input())
intdiv = a//b
floatdiv = a/b
print("{0}\n{1}".format(intdiv,floatdiv)) # this is the "normal" way to print things. \n = Linebreak
Or:
print("{}\n{}".format(intdiv,floatdiv)) # alternative
Or:
print("Int: {}\nFloat: {}".format(intdiv,floatdiv)) # alternative
The last prints:
Int: 0
Float: 0.6666666666666666
Docs and other examples here: https://docs.python.org/2/library/string.html#format-examples