Exercise 2: Write a for loop to loop through a list of numbers and use an if statement, that appends each number to a ne

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Exercise 2: Write a for loop to loop through a list of numbers and use an if statement, that appends each number to a ne

Post by answerhappygod »

Exercise 2 Write A For Loop To Loop Through A List Of Numbers And Use An If Statement That Appends Each Number To A Ne 1
Exercise 2 Write A For Loop To Loop Through A List Of Numbers And Use An If Statement That Appends Each Number To A Ne 1 (11.7 KiB) Viewed 24 times
Exercise 2: Write a for loop to loop through a list of numbers and use an if statement, that appends each number to a new list if the number is positive. Use the following list: nums=(1, -2, 3, 4, -9, -100, 23, 45, -1]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply