Programming Challenges
The Average
Create a Python application to calculate the average grade of 3 exams: average.py
Time Converter
Write the code with Python to create a time converter app: timeconverter.py
Instructions:
- You have to define 4 variables: hours, minutes, seconds, and total_seconds.
- The app has to print the total seconds.
- Test the application with these values: 40 hours, 12, minutes and 36 seconds. The total seconds shoul be 144756.
Remember: - 1 hour = 60 minutes - 1 minute = 60 seconds