the art of python one linersPython's PEP8 style guide suggests that you should limit all lines to a maximum of 79 characters... 529 isnt too far off
bruh this is a very cool one-liner damnn even with the walrus operator too
The WORST sorting algorithm possible-In just 1 line! (random sort)
This is my sorting algorithm came up with called random sort - the absolute worst sorting algorithm I could make
the art of python one liners
Python's PEP8 style guide suggests that you should limit all lines to a maximum of 79 characters... 529 isnt too far off
As the name suggests, the algorithm randomly arranges the list until it finally ends up in order
The biggest challenge was doing this all in one line..
Roughly how i went about making it inline:
..AND there is no semi-colons, so this is truly a one liner
I think we all know that python was created to be used illegibly... duhhh
Important notes:
Let me know what i should make in 1 line next
bruh this is a very cool one-liner damnn even with the walrus operator too