You are viewing a single comment's thread. Return to all comments →
By using def function
if __name__ == '__main__': a = int(input()) b = int(input()) def int_division(a,b) : return a//b def float_division(a,b) : return a/b print(int_division(a,b)) print(float_division(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 →
By using def function