Speed Converter

Data often arrives in one unit, while calculations need another — that is a common situation in real programs. Write a function cockroach_speed that takes a speed s in kilometers per hour and converts it to centimeters per second. Round the result down to a whole number.

Примеры

Ввод
1.08
Вывод
30
Ввод
1.09
Вывод
30
Ввод
0
Вывод
0

Нужно реализовать

def cockroach_speed(s: float) -> int:

Теги

math
PostgreSQLv16

Koodin suorituksen tulos näkyy tässä

Visible tests
1
Input
1.08
Expected30
2
Input
1.09
Expected30
3
Input
0
Expected0
4
Input
3.6
Expected100
5
Input
5.04
Expected140
6
Input
1
Expected27
Focus radio
Paused · SomaFM · Fluid