help me! 박민훈 작성일 2025년 07월 22일 22:04 count=0 a= int(input()) for i in range(10): a=int(input()) if a%2==0: count+=1 print(count) why is it wrong?????????????? subscibe to Jack.D.Shorts@jackpark2015 ♥ 좋아요 0 목록으로
댓글
7개i did it like this
a= int(input())
b= int(input())
c= int(input())
d= int(input())
e= int(input())
f= int(input())
g= int(input())
h= int(input())
i= int(input())
j= int(input())
count=0
if a%2==0: count+=1
if b%2==0: count+=1
if c%2==0: count+=1
if d%2==0: count+=1
if e%2==0: count+=1
if f%2==0: count+=1
if g%2==0: count+=1
if h%2==0: count+=1
if i%2==0: count+=1
if j%2==0: count+=1
print(count)
어떤 에러가 났나요
에러:
입력 도중 문제가 발생했습니다. input() 함수 사용 시 입력을 제대로 받았는지 확인해보세요!
그럼 input 을 잘 받았는지 확인해보면 되겠네요 ^_^
???????
뭐야?
댓글 쓰기
댓글을 작성하려면 로그인하세요.