b) (C) Write a Python Program to print even no series up to 30 using for loop.
Answers
Answered by
0
Answer:
36
Explanation:
Step by step descriptive logic to print all even number between 1 to n using if condition.
Input upper limit to the even numbers from user. Store it in some variable say N .
Run a loop from 1 , that runs till N , increment the loop counter by 1 in each iteration. ...
Inside the loop body check even/odd condition.
Similar questions