Write a python function to convert hours to seconds


Topic: Write a python function to convert hours to seconds

Solution

def convert_to_seconds(num_hours):
    minutes = num_hours * 60
    seconds = minutes * 60
    return seconds



List all Python Programs