ary[int(sys.stdin.readline()) - 1] += 1 if i > 0 else ary[int(sys.stdin.readline())]+=1
뒷부분에 + 앞에 end of statement expected 랑 1앞에 statement expected,found Py:PLUSEQ 에러뜸
뒷부분에 + 앞에 end of statement expected 랑 1앞에 statement expected,found Py:PLUSEQ 에러뜸
해당 댓글은 삭제되었습니다.
3항연산자 배워서 쓰고싶어서요
sys.stdin.readline() 때문에 오류나는듯?
와 ㄹㅇ 프갤러들 아무도 몰라서 답못하는데 답해주는것도 다 틀리는거봐라