QP School
QP School
>
Tutorials
>
Python 3 Tutorials and examples
> Integer division in Python 3
Full Version:
Integer division in Python 3
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Qomplainerz
07-25-2023, 10:36 AM
# In Python 3, dividing two integers results in a float if not evenly divisible
result = 7 / 3
print(result) # Output: 2.3333333333333335
QP School
>
Tutorials
>
Python 3 Tutorials and examples
> Integer division in Python 3