Different list sizes and combinations of integers

Assignment Help Basic Computer Science
Reference no: EM132184271

FOR LOOPS QUESTION

A 2 dimensional list of integers will be used in this program (a list of lists). Each sublist is a "row". For example:

integerList = [[4, 7, 9], [3, 6, 7], [14, 13, 12], [6, 12, 222]]

A function that takes in a 2 dimensional list as shown as a parameter and returns True if all the rows add up to an even number, and returns False otherwise (if any of the rows add to an odd number). The function should work for sublists of any length (and of variable lengths -- for instance, a list such as [[1, 2], [5, 6, 7]] would be a valid input.  The program should work for a list with any number of sublists. Be sure to test the program with different list sizes and combinations of integers. Show test cases by writing a function that shows the results for several cases. This test function should run when your program starts up. Show the user what the test case is and the result.  The program must not require any user input.

Reference no: EM132184271

Concepts of market segmentation-targeting

In this assessment, you will analyze and use the concepts of market segmentation, targeting, and positioning to develop a product strategy for your selected product. This an

Demonstrate the function in a complete program

A prime number is a number that is only evenly divisible by itself and 1. For example, the number 5 is prime because it can only be evenly divided by 1 and 5. The number 6,

Design experiments to confirm or negate this theory

At the end of training after the network acquires a lot of knowledge, a slower learning rate is advisable, so that incidental mistakes (caused by a few challenges in the tra

Portion of the driver license exam

The local driver's license office has asked you to design a program that grades the written portion of the driver's license exam. The exam has 20 multiple choice questions.

Give time line which identify specific steps of installation

Give a time line, which identifies specific steps (including training) and related resources required to implement the recommended system.

Find the angle of elevation of the sun

National Monuments In 1906, Teddy Roosevelt designated Devils Tower National Monument in northeast Wyoming as the first national monument in the United States. The tower ris

Emergence of cloud technologies

How the emergence of Cloud Technologies has impacted investments in infrastructure and how strategies are changing at the enterprise level in relation to infrastructure as a

Create a list of the top-five utilities computer should have

Create a list of the top-five utilities you feel every computer should have. For each utility, discuss whether it is included in the OS and/or if there are alternatives that

Reviews

Write a Review

 
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd