[기록] for _ in range()와 for i in range(), for i in range(n,n+1)과 같은 반복문에 대한 의문증 해결
for _ in range()반복되는 변수 없이 n번 반복 for i in range(n)리스트나 문자열 길이만큼 인덱스를 통해 반복range(len(s))는 0부터 len(s)-1까지의 숫자를 반환합니다.따라서 인덱스 i를 통해 리스트 또는 문자열의 각 요소에 접근할 수 있습니다. for i in range(n,n+1)한번만 반복하며 i는 s값을 가지게 됌for i in [n]값을 가지는 것과 같음