Mattia
0
Q:

what is floor division

# the double '//' is used for floor division
result = x//y 
4
# Floor division is a normal division operation except that it returns the largest possible integer. 
# This integer is either less than or equal to the normal division result.

print("Floor of 36 / 5 is:")
print(36 // 5) # 7
1

New to Communities?

Join the community