QP School

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.
# In Python 3, dividing two integers results in a float if not evenly divisible
result = 7 / 3
print(result)  # Output: 2.3333333333333335