You are viewing a single comment's thread. Return to all comments →
Try this simple one.
print(f'{a//b}\n{a/b}')
Another one also works for me.
print(a//b,'\n',float(a/b))
Seems like cookies are disabled on this browser, please enable them to open this website
Python: Division
You are viewing a single comment's thread. Return to all comments →
Try this simple one.
Another one also works for me.