Question: 1a) Write a PYTHON program that asks a user to enter their marks. When the user is done entering marks, they will enter -1. Output
1a) Write a PYTHON program that asks a user to enter their marks. When the
user is done entering marks, they will enter -1.
Output the average of their marks.
1b) Write a PYTHON program that calculates the average temperature.
Example Input:
Enter the temperature: -14.3
Enter the temperature: 34
Enter the temperature: -6
Enter the temperature: Done
Output:
The average temperature is 4.6 degrees Celsius.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
