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
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output