Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain how to build high-performance service delivery teams.

Answered: 1 week ago

Question

Understand what a service-oriented culture is.

Answered: 1 week ago