i = 5001
if i > 7:
    print('7보다는 큽니다.')
else:
    print('7보다 작습니다.')

if i > 0 and i < 10: #1~9까지
    print('한 자릿수 입니다.')
elif i >= 10 and i < 100: #10~99까지
    print('두 자릿수 입니다.')
else:
    print('자릿수를 모르겠습니다.')

if i % 2 == 0:
    print('짝수입니다.')
else:
    print('홀수입니다.')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: