Question: Lab 7.4- Arrays and Python Code (Optional) Critical Review In Python, arrays are native objects called lists List index starts at 0 (unlike Raptor). The



![of the array even number [2, 4, 6, 8, 10] You can](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3147b0abb8_52266f3147a8db43.jpg)
Lab 7.4- Arrays and Python Code (Optional) Critical Review In Python, arrays are native objects called lists List index starts at 0 (unlike Raptor). The following is a method used when you kow the elements of the array even number [2, 4, 6, 8, 10] You can use the print statement to display an entire list, as shown here: print (even nunbers) The follorwing is a method used when you do not know what the elaments should be, but you lnow the size. numbers= [0] * 5 A loop can also be used to print the elements of the aray. An example is as follows: A for in loop for n in numbers print (n A while loop index = 0 while index 5: print (numbers [index]) index = index + 1 The goal of this lab is to conrert the blood drive program from Lab 7.1 to Pythan code. Step 1: Start the IDLE Environment for Python. Prior to entering code, save your file by clicking on File and then Save. Select your location and save this file as Lab7-4.pp. B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
