def convert_time(hrs, min):
    min= hrs*60+min
    return min
h=int(input("Enter the hours:"))
m=int(input("Enter the minutes:"))
m=convert_time(h,m)
print("Total Minutes=",m)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: