Minutes Into Seconds
Write a function convert that takes a number of minutes minutes and returns how many seconds that is. One minute has 60 seconds. Multiplication * by a constant number will help.
Примеры
Ввод
5Вывод
300Ввод
3Вывод
180Ввод
0Вывод
0Нужно реализовать
def convert(minutes: int) -> int:
Теги
math
Влез, за да видиш историята на решенията
ВходВлез, за да използваш ИИ ментора
ВходTests12
Visible tests
Скрит тест 7
Скрит тест 8
Скрит тест 9
Скрит тест 10
Скрит тест 11
Скрит тест 12
They run when you press "Submit" — your whole solution is checked against them so you can't hard-code answers for the visible cases.
Focus radio
Paused · SomaFM · Fluid