You are viewing a single comment's thread. Return to all comments →
I only followed the problem conditions:
if n is odd
if n & 1 == 1:
if n is even and is within ranges
elif ...:
otherwise
else ...:
Seems like cookies are disabled on this browser, please enable them to open this website
Python If-Else
You are viewing a single comment's thread. Return to all comments →
I only followed the problem conditions:
if n is odd
if n is even and is within ranges
otherwise