Qus:    How can I create a list of numbers and Iterate through the list and print alternate numbers.
Apr 09, 2021 11:37 1 Answers Views: 341 DILEEP
Prev Next
Answers (1)
RAMU Apr 10, 2021 12:51
Answer:   Yes, while iterating divide each number by 2 and print the odd numbers (i.e. not divisible by 2) or even numbers as per your choice.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect