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
Prisijunkite, kad matytumėte pateikimų istoriją
PrisijungtiPrisijunkite, kad naudotumėte DI mentorių
PrisijungtiTests12
Visible tests
Paslėptas testas 7
Paslėptas testas 8
Paslėptas testas 9
Paslėptas testas 10
Paslėptas testas 11
Paslėptas testas 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