Error Party
  • 홈
    • 분류 전체보기
      • IT
      • 이슈
      • 애니
  • 글작성
  • 방명록
  • 환경설정
  • 메뉴 닫기
일부분 검색 결과
1 개의 검색 결과가 있습니다.
IT

[python]썰매를 이해합니다

썰매를 이해합니다 질문 파이썬 슬라이싱에서 좋은 설명이 필요합니다 (참조는 더한 플러스입니다). 답변 그것은 꽤 간단합니다.a[start:stop] # items start through stop-1 a[start:] # items start through the rest of the array a[:stop] # items from the beginning through stop-1 a[:] # a copy of the whole array 또한 위의 것과 함께 사용할 수있는 단계 값이 있습니다.a[start:stop:step] # start through not past stop, by step 기억해야 할 키 포인트는 다음과 같습니다. Stop 값은 선택한 슬라이스에없는 첫 번째 값을 나타냅니다.그..

2022. 3. 31. 10:21
  • «
  • 1
  • »
  • 최근 글

최근 글

최근댓글

전체 카테고리

  • 분류 전체보기
    • IT
    • 이슈
    • 애니
Powered by Privatenote Copyright © Error Party All rights reserved. TistoryWhaleSkin3.4

티스토리툴바