Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please type the code for the whole python program, letters are steps not individual questions 3. Write a Python program stored in file L3q3.py that:

please type the code for the whole python program, letters are steps not individual questions image text in transcribed
3. Write a Python program stored in file L3q3.py that: A. Gets the scores secured by a student in five subjects namely subject 1 , subject 2 , subject 3 , subject 4 , subject5. Calculate the average score of all the subjects and store it in a variable called avg_score. Note: The scores entered must be greater than zero and the maximum score that the student can score in each subject is 100. B. Checks if the variable avg_score is greater than or equal to subject 4 score and prints the result. C. Checks if subject1 score is equal to subjects score and print the result. D. Checks if subject 2 score is less than or equal to subject 3 score and print the result. E. Deletes the variable in which subject 5 score is stored. The student is writing the test for subjects again. What score should the student get in subject5 to get an average score of 95 ? Print the score. Is it possible to get that score? Print the result

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

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions