Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started