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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
question
Computers and Technology, 23.06.2019 23:00
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a.add symmetry b.create a unified publication c.provide consistency d.save money
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
question
Health, 19.09.2019 08:10
question
Mathematics, 19.09.2019 08:10
Questions on the website: 13722359