Computer Science, asked by ananyagupta21, 3 months ago

Find the output n=1 a=0 while n<= 10: a+=n*n n=n+2 print ("output is", a)​

Answers

Answered by valeriy69
2

output is 165, if the print statement is outside the loop.

output is 1

output is 10

output is 35

output is 84

output is 165

If the print statement is inside the loop.

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

Similar questions