티스토리 뷰

a= list(map(int, input().split()))

for i in range(len(a)):
    if a[i]%2 == 0:
        print("짝수")
    else:
        print("홀수")

'algorithm > python ISEQ' 카테고리의 다른 글

[python]60Q - 14  (0) 2020.12.27
[python] 60Q - 13  (0) 2020.12.27
[python] 60Q - 7번 큰수  (0) 2020.10.31
[python] 60Q - 5 원의넓이  (0) 2020.10.31
[python] 60Q - 4 넓이  (0) 2020.10.31
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/11   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
글 보관함