728x90
6065 : [기초-조건/선택실행구조] 정수 3개 입력받아 짝수만 출력하기(설명)(py)
▶ 문제 ◀
[문제링크] : https://codeup.kr/problem.php?id=6065
코드
s = map(int, input().split())
for i in s:
if i % 2 == 0:
print(i)
728x90
'CodeUp > Python 기초 100제' 카테고리의 다른 글
[CodeUp] 코드업 기초 100제 6067번 풀이 - 파이썬(Python) (0) | 2021.08.07 |
---|---|
[CodeUp] 코드업 기초 100제 6066번 풀이 - 파이썬(Python) (0) | 2021.08.07 |
[CodeUp] 코드업 기초 100제 6064번 풀이 - 파이썬(Python) (0) | 2021.08.07 |
[CodeUp] 코드업 기초 100제 6063번 풀이 - 파이썬(Python) (0) | 2021.08.07 |
[CodeUp] 코드업 기초 100제 6062번 풀이 - 파이썬(Python) (0) | 2021.08.07 |