solve the following
write anb algorithm to display the even numbers from 2 to 20
Answers
Answered by
1
print("\n".join([str(n) for n in range(2, 21) if
n % 2 == 0]))
Similar questions