Question: PYTHON PROGRAMMING: DO NOT USE INPUT FUNCTION, use sys.argv Write a program that reads the inputs repeatedly using a while loop. The code should skip

PYTHON PROGRAMMING: DO NOT USE INPUT FUNCTION, use sys.argv

Write a program that reads the inputs repeatedly using a while loop. The code should skip the even numbers and print only the odd numbers. Inputs are always valid.

Input:

a) 3 7 6 4 5 9 0 2 3

b) 3 4 6 5 3 4

Output:

a) 3

7

5

9

3

b) 3

5

3

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!