• + 1 comment

    Try this simple one.

    print(f'{a//b}\n{a/b}')
    

    Another one also works for me.

    print(a//b,'\n',float(a/b))