Computer Science, asked by nikhilkumar4567b94, 1 month ago

write a Python program to display the even numbers from 1to10​

Answers

Answered by mohammed0047
0

Explanation:

Given starting and end points, write a Python program to print all even numbers in that given range. Define start and end limit of range. Iterate from start till the range in the list using for loop and check if num % 2 == 0. If the condition satisfies, then only print the number.

Similar questions