# Python program to print Even Numbers in given range start, end = 0, 50 # iterating each number in list for num in range(start, end + 1): # checking condition if num % 2 == 0: print(num, end = " ")