q=input())
w=[]
for i in range(q):
e=int(input())
w.append(1)
w.append(2)
w.append(3)
w.append(4)
w.append(5)
e.pop()
e.pop()
e.pop()
e.pop()
e.pop()
print(e)요렇게 쓰면 스트링은 안된다고 에러 떠서int넣으니까 어드벤티즈 에러 나면서 int가 잘못되았다고 뜨더라구요
댓글
2개AttributeError: 'int' object has no attribute 'pop'인트 넣었을떄는 이렇게 뜨더라구요'
문제 몇번이에요?
댓글 쓰기
댓글을 작성하려면 로그인하세요.