Skip to content
CodeItRaw
Code Reading
/
Odd Squares
Path
Play
Daily
Leaderboard
tr
Predict the Output
Odd Squares
Step through the loop in your head: which number is printed?
1
total =
0
2
for
i
in
range
(
1
,
6
):
3
if
i %
2
==
0
:
4
continue
5
total += i * i
6
print
(total)