Computer Science, asked by mansoonparajuli890, 5 months ago

solve the following
write anb algorithm to display the even numbers from 2 to 20

Answers

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

print("\n".join([str(n) for n in range(2, 21) if

n % 2 == 0]))

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions