Lab 07a - Simple Functions
Lab 07a - Simple Functions
Create three Python functions for different unit conversions based on the below:
1. Temperature conversion (Celsius to Fahrenheit), rounded to 2 decimal places. Use the round() function to help with this.
2. Distance conversion (Miles to Kilometers), rounded to 2 decimal places. Use the round() function to help with this.
3. Time conversion (Hours and Minutes to Total Minutes)
Function Specifications:
1. celsius_to_fahrenheit(celsius)
2. miles_to_kilometers(miles)
3. time_to_minutes(hours, minutes)
Task Requirements:
def celsius_to_fahrenheit(celsius):
# Implement the function here
def miles_to_kilometers(miles):
# Implement the function here