• BlanketsWithSmallpox
      link
      English
      21 month ago

      I’m sorry you want me to not print emails so I don’t immediately forget them when I go to the area next door? How the hell am I supposed to remember this shit then?

    • nifty
      link
      31 month ago

      To his credit, he did do all that

  • Toes♀
    link
    fedilink
    19
    edit-2
    1 month ago

    Let me help you sort things out

    def bubbleSort(arr):
    
        n = len(arr)
    
        for i in range(n-1):
    
            for j in range(0, n-i-1):
    
                if arr[j] > arr[j+1]:
    
                    arr[j], arr[j+1] = arr[j+1], arr[j]
    
    #https://www.sortvisualizer.com/bubblesort/
    
    • @NorthWestWind
      link
      31 month ago

      They asked for sorting things into categories. Bucket sort is more suitable.

  • @Plopp
    link
    61 month ago

    Oh shit. Tits explains s lot.

  • @[email protected]
    link
    fedilink
    31 month ago

    I am close to that point right now, and listing all the irritating things in my life that I could think of made my stress about the whole situation a lot better.

    Putting names on things helps a lot.