Please typing the following integrity statement along with y…

Please typing the following integrity statement along with your name and student ID to affirm compliance. Students who fail to do so will receive a zero on the exam. “On my honor, I have neither given nor received inappropriate assistance in completing this exam and I have abided by the zero-communication condition. As a member of the Anne Arundel Community College, I act with honesty, integrity, and respect for others.” My name is: _________________ My student ID is: ______________

Write a function number_of_ones that produces an array with…

Write a function number_of_ones that produces an array with 10 elements, chosen from the set {0, 1}, and returns the number of 1’s in this array.  booleans= make_array(0,1) def number_of_ones( ):     array_of_booleans = [blank1](booleans, [blank2])     return [blank3]( array_of_booleans == 1)