solutions

Return the percentage of minutes an hour as a float

Take your previous percentage function, but this time return the percentage as a float type. Round to 1 decimal place.

return_percentage(60) == 100.0
return_percentage(30) == 50.0

Test Cases

tests

[]