5 lines
81 B
Python
5 lines
81 B
Python
def choose_speed(distance):
|
|
if distance < 20:
|
|
return 0
|
|
return 30
|