1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Marta_Voda [28]
3 years ago
6

Assign sum_extra with the total extra credit received given list test_grades. Iterate through the list with for grade in test_gr

ades:. The code uses the Python split() method to split a string at each space into a list of string values and the map() function to convert each string value to an integer. Full credit is 100, so anything over 100 is extra credit.Sample output for the given program with input: '101 83 107 90'Sum extra: 8(because 1 + 0 + 7 + 0 is 8)user_input = input()test_grades = list(map(int, user_input.split())) # test_grades is an integer list of test scoressum_extra = 0 # Initialize 0 before your loop''' Your solution goes here '''print('Sum extra:', sum_extra)
Computers and Technology
1 answer:
Ksenya-84 [330]3 years ago
4 0

Answer:

Replace ''' Your solution goes here '''

With

<em>for i in test_grades:</em>

<em>    if i > 100:</em>

<em>        sum_extra+=i - 100</em>

<em />

Explanation:

This iterates through the list

for i in test_grades:

This checks for list elements greater than 100

   if i > 100:

The extra digits (above 100) are then added together

       sum_extra+=i - 100

You might be interested in
What game is this??????????????????????
miss Akunina [59]

Answer:

rocket league

Explanation: cars and balls

7 0
3 years ago
A style ____ is a series of rules that defines the style for a web page or an entire web site.
inna [77]
Set is the answer have fun 
8 0
3 years ago
PLZ HELP 100 points!!!! 1. Imagine you are a screenplay writer. Discuss some possible activities or techniques you
atroni [7]

Answer:

One angle

Explanation:

I have seen several scripts with various directions such as "Close on" "from another angle", etc. And other scripts without such notations. I have seen conflicting comments concerning this practice---Some producers I have contacted say they want this IN the "finished script" they get and others, feel, like I do, that camera angles and lighting and such are up to the director in the production phase. I have also read that Spec Scripts do not have such notations. So what should I include or not, in this respect, in a Spec Script.

5 0
4 years ago
The ideal hash function:
Lorico [155]
I believe the answer is A
Hope this helps
7 0
3 years ago
Which of the following is not a common network architecture type?
solong [7]

Answer:

c

Explanation:

i guess bcs i didnt learn this actually

3 0
3 years ago
Other questions:
  • Write a program that takes as input an arithmetic expression followed by a semicolon ";". The program outputs whether the expres
    11·1 answer
  • Where does communication take place?
    12·1 answer
  • (Java)
    12·1 answer
  • What is Mainframe computer​
    14·1 answer
  • Review the following statements and select the ones that are correct regarding sorting accounts from the Adjusted Trial Balance
    5·1 answer
  • Suction cup-type headlamp aiming equipment may be used on:
    11·1 answer
  • Your program will read a word (or a whole line) from the user. It will then count the number of vowels in the word (or line) and
    12·1 answer
  • Player casts 'Assassinate' on 'Acolyte of pain'. Acolyte's owner will:
    6·2 answers
  • 5. Which one of these can connect directly to the internet?
    9·2 answers
  • (Correct Answer Recieves Brainliest)
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!