subject

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 the keyword none (not the string ‘none’). hints: review the type() or isinstance() methods

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:20, gingerham1
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
image
Computers and Technology, 23.06.2019 06:30, eddsworldfrantic
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
image
Computers and Technology, 23.06.2019 13:50, mrfishyyyy
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
image
Computers and Technology, 23.06.2019 18:30, emmaishere69
List 3 items that were on kens resume that should have been excluded
Answers: 1
You know the right answer?
Using your text editor, write the function sumsquares(alist). the function takes a list as an input...

Questions in other subjects: