• range() 함수를 사용하여 일련의 숫자 범위 생성

  • 사용방법 :

   - range(stop)

   - range(start, stop)

   - range(start, stop, step)

   - step의 기본값은 1