Asks the user to enter a series of 7 scores. An individual statement for each score The program should store the scores in a list. Give the list created a descriptive name  Determine the lowest score and store in a variable. Drop lowest score from list.  Calculate Score average after having dropped lowest score  Display the following: information should be displayed as per example shown below Lowest score entered Score List after dropping lowest score The average of scores in modified list My code: score1 = (input("Enter score #1")) score2 = (input("Enter score #2")) score3 = (input("Enter score #3")) score4 = (input("Enter score #4")) score5 = (input("Enter score #5")) score6 = (input("Enter score #6")) score7 = (input("Enter score #7"))   scores = [score1, score2, score3, score4, score5, score6, score7]   scores.sort() lowest_score.remove(min(scores)) scores_avg = scores / len(scores)   print("-------------Results-------------") print("Lowest score : ", *scores[:1]) print("Modified List : ", (lowest_score)) print("Scores Average: ", (average)) print("---------------------------------")

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
  • Asks the user to enter a series of 7 scores. An individual statement for each score
  • The program should store the scores in a list. Give the list created a descriptive name 
  • Determine the lowest score and store in a variable.
  • Drop lowest score from list. 
  • Calculate Score average after having dropped lowest score 
  • Display the following: information should be displayed as per example shown below
    • Lowest score entered
    • Score List after dropping lowest score
    • The average of scores in modified list

My code:

score1 = (input("Enter score #1"))

score2 = (input("Enter score #2"))

score3 = (input("Enter score #3"))

score4 = (input("Enter score #4"))

score5 = (input("Enter score #5"))

score6 = (input("Enter score #6"))

score7 = (input("Enter score #7"))

 

scores = [score1, score2, score3, score4, score5, score6, score7]

 

scores.sort()

lowest_score.remove(min(scores))

scores_avg = scores / len(scores)

 

print("-------------Results-------------")

print("Lowest score : ", *scores[:1])

print("Modified List : ", (lowest_score))

print("Scores Average: ", (average))

print("---------------------------------")

Enter score #1: 78
Enter score #2: 99.9
Enter score #3: 86.7
Enter score #4: 56
Enter score #5: 75.9
Enter score #6: 95
Enter score #7: 80.5
--Results-
Lowest Score
: 56.0
Modified List : [78.0, 99.9, 86.7, 75.9,
Scores Average: 86.00|
95.0, 80.5]
Transcribed Image Text:Enter score #1: 78 Enter score #2: 99.9 Enter score #3: 86.7 Enter score #4: 56 Enter score #5: 75.9 Enter score #6: 95 Enter score #7: 80.5 --Results- Lowest Score : 56.0 Modified List : [78.0, 99.9, 86.7, 75.9, Scores Average: 86.00| 95.0, 80.5]
Expert Solution
Output

Computer Science homework question answer, step 1, image 1

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Dictionary
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education