Question: WRITE IN PYTHON... NOT MATLAB! Please and Thank you! 3. Write a program that asks the user to input a list of integers of arbitrary

WRITE IN PYTHON... NOT MATLAB! Please and Thank you!WRITE IN PYTHON... NOT MATLAB! Please and Thank you! 3. Write a

3. Write a program that asks the user to input a list of integers of arbitrary length. Then, using a "for" loop the program examine each element of the vector. If the element is positive its value is doubled. If the element is negative its value is tripled. The program displays the list that was entered and the modified list. Command Window: Columns 1 through 15 -8 9 6 14 18 -6 7 4 -10 0 -5 14 -1 6 -5 Columns 16 through 19 8 2 10 11 Columns 1 through 15 -24 -2712 28 36 -18 14 8 30 0 -15 28 -3 12 -15 Columns 16 through 19 16 -6 20 22

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 Databases Questions!