Question: Part II: Processing data in a list Now let's take another version of a list to hold some numbers. In this code segment, I am

Part II: Processing data in a list
Now let's take another version of a list to hold some numbers. In this code segment, I am initializing it
to a quick set of data rather than reading it in from a data file. A more realistic (time-consuming)
program would read this set of data from outside the program such as a file or from the user. We are
hard-coding the list data to save time.
# Lab 7 Part II
# the following statement declares an empty array named aList with 15 values
aList =[9,10,-1,0,-3,19,24,72,-98,11,24,1,1,1,15]
countPositive =0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!