print(10 / 4) # 2.5 (always a float) print(10 // 4) # 2 (rounded down) print(10 % 4) # 2 (the leftover remainder) print(-10 // 4) # -3 (floor rounds toward negative infinity)
Click Run to execute this code.