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("---------------------------------")
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("---------------------------------")
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter2: Formulas, Functions, And Formatting
Section: Chapter Questions
Problem 5AYK
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("---------------------------------")
Expert Solution
Output
Step by step
Solved in 3 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning