p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
Operators I
Exercise: Floor Division Operator
Exercise: Floor Division Operator
Here we divide a by b. Change the operator such that the result is rounded down to the next whole number.
Premium
reset
a = 10 b = 3
result = a / b
print(result)
Python
Setting up Python environment...
Output