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
Math,
2 months ago
Social Sciences,
5 months ago
English,
5 months ago
Math,
10 months ago
Math,
10 months ago