본문 바로가기
English

Putting items in order

  • Sorting arranges a list into order, usually smallest first.
  • The key move is a swap: exchange two items.
  • In Python: a[i], a[j] = a[j], a[i] swaps two list items in one line.

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP