Skip to content

Instantly share code, notes, and snippets.

@fatosmorina
Created October 3, 2021 06:09

Revisions

  1. fatosmorina created this gist Oct 3, 2021.
    5 changes: 5 additions & 0 deletions sorted_list.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    my_list = [13, 51, 1, -14, 0, 91, 43]

    my_list.sort()

    print(my_list) # [-14, 0, 1, 13, 43, 51, 91]