subject

[goal] using your text editor, write the function sumsquares(alist). the function takes a list as an input and returns (not prints) the sum of the squares of the all the numbers which absolute value is divisible by 3. if an element in the list is not a number, the function should ignore the value and continue. when the function receives an input that is not a list, code should return an error message to the user. hints: review the type() or isinstance() methods grading: for this assignment only, gradescope will test your code with 5 different inputs for 2 points each. this will happen right after you upload your file. make sure you follow the given instructions, otherwise, gradescope will not show you the grading report

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 12:40, Rententen3845
How do i get the most points, without any effort?
Answers: 2
image
Computers and Technology, 23.06.2019 11:30, kyraj21
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, gamingisfun
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
image
Computers and Technology, 23.06.2019 19:00, nayo2006
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
[goal] using your text editor, write the function sumsquares(alist). the function takes a list as an...

Questions in other subjects:

Konu
History, 11.12.2020 03:30
Konu
English, 11.12.2020 03:30
Konu
History, 11.12.2020 03:30