Question: Exercise 2: Write a Python program to traverse the list and print all odd numbers in the same order and skip the printing if the

Exercise 2: Write a Python program to traverse the list and print all odd numbers in the same order and skip the printing if the number equals to 81 stop the printing if the numbers equals to 237 Sample numbers list are given: in 127: numbers = [ 386, 462, 47, 418, 907, 344, 236, 375, _823, 566, 597, 978, 328, 615, 953, 345, 399, 81, 162, 758, 219, 918, 237, 412, 566, 826, 248, 866, 950, 626, 949, 687, 217, 815, 67, 104, 58, 512, 24, 892, 894, 767, 553, 379, 843, 831, 445, 742, 717, 958,743, 527] #TODO for exercise 2 47 907 375 823 597 615 953 345 399 219
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
