A function that prints the number of hours given the number of minutes is given as follows:
def get_minutes_as_hours(orig_minutes):
print(orig_minutes/60)
minutes = float(input())
get_minutes_as_hours(minutes).
An hour is composed of 60 minutes, hence the conversion from minutes to hours is done applying the proportion, that is, dividing the number of hours by 60.
The conversion is done exactly as it should in this problem, however, there is an issue with the print command.
The print command is called twice, meaning that the unexpected extra line is a result of the print(get_minutes_as_hours(minutes)), as the return of the function is null.
Then the code section can be correct removing the second print command, and leaving the last line as:
get_minutes_as_hours(minutes).
Which calls the function that already has a print command.
More can be learned about proportions at https://brainly.com/question/24372153
#SPJ1