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