Answers for "double division in python"

0

double division in python

The Double Division operator in Python returns 
the "floor"
value for both integer and floating-point arguments after division.

print(5//2)
print(-5//2)
print(5.0//2)

Output:
2
-3
2.0
Posted by: Guest on June-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language