Solutions will be available when this assignment is resolved, or after a few failing attempts.

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


def return_float(minutes): pass