i just leaked some of source code of SortPy

dreamy, synth, synthwave, psychedelic

June 3rd, 2024suno

Lyrics

from sorting import * from tools import * import time print('Welcome to SortPy!\nSorting Operations Realized through Python for Terminal Yield\n---VERSION 1.0---\nCredits: \nGeeksforGekks for making Heap Sort and Bitonic Sort.\nKuvina for explaining Quick Sort, Pancake Sort and many other sorting algorithms.\nChatGPT for making Stooge Sort, Merge Sort, and correcting Tournament Sort.') length = int(input('Type the length of the array. (Must be an integer): ')) array = visualizing.arrange(length) visualizing.visualize(array) sorts = '' while True: recommendedblocksize = 10 blocksize = 0 sorts = str(input('Type the sorts you want to use. Input \'sorts\' for available sorts. Input \'stop\' to stop the program. (Must be a string and seperated with commas): ')) sorts = sorts.lower().replace(' ', '') if sorts == 'sorts': print('AVAILABLE SORTS:\n--- Simple Algorithms ---\nBubble Sort\nInsertion Sort\nOptimized Insertion Sort\nGnome Sort\nSelection Sort\nOptimized Selection Sort\nOdd Even Sort\nBetter Selection Sort\nDouble Better Selection Sort\nComb Sort\nIndex Sort\nHeap Sort\nCocktail Shaker Sort\nShell Sort\n=== Divide and Conquer Algorithms ===\nQuick Sort\nBitonic Sort\nMerge Sort\n=== Hybrid Algorithms: Bonus ===\nIntro Sort\nSplit Sort\nReverse Split Sort\nWeird Sort\nOptimized Weird Sort\nUniversal Hybrid Sort\nBeginner Merge Sort\n--- Joke Algorithms ---\nBogo Sort\nSafe Bogo Sort\nBogo Bogo Sort\nBozo Sort\nBubble Bogo Sort\nStalin Sort\nEasiest Sort\nRandom Gnome Sort\n=== Impractical Sorts ===\nPancake Sort\nCounting Sort\nGravity Sort (Reverse Bubble Sort)\nCycle Sort\nFast Cycle Sort (only affects visualizing)\nStooge Sort\n--- Complex Algorithms---\nTournament Sort\nRadix Sort Base 10 / Base 4 (they are seperated)\nBinary Radix Sort\nGravity Sort v2 (Complex)\n=== Made-up Algorithms ===\nGreater Sort\nOptimized Greater Sort\nAdd Sub Sort\nLongest Sort\nSubtract Sort\nBaiai Sort (Made by Kuvina)\nBaiai Sort With Parallel Processors') continue if sorts == 'stop': print('Stopped.') break shuffle_method = 'shufflemethods' while shuffle_method == 'shufflemethods': shuffle_method = str(input('Type a shuffle method. Input \'shufflemethods\' for available shuffles. (Must be a string only): ')) shuffle_method = shuffle_method.lower().replace(' ', '') if shuffle_method == 'shufflemethods': print('AVAILABLE SHUFFLE METHODS:\nShuffle\nScrambled Tail\nScrambled Head\nDescending\nDescending Evens\nHeapified Input\nReal Heapified Input\nQuick Sort Killer (maybe)\nSawtooth Input\nReversed Sawtooth\nRadix Sort Base 10 Final Pass\nReal Radix Sort Base 10 Final Pass\nPartitioned Shuffle\nBucket Shuffle\nMany Similar Div 10\nAlmost Sorted\nAlready Sorted\nUnnessecary Swap\nBonus: Twinkle Twinkle Little Star Shuffle') sorts = useful_tools.string_to_list(sorts) for sort in sorts: if sort == 'universalhybridsort': while len(arr

Recommended

Ice Warriors
Ice Warriors

rock intense anthemic

Can't Sleep
Can't Sleep

deep house,romanian deep house, female singer, saxophone, violin, zurna

Missing You
Missing You

pop sentimental piano-driven

Criaturas en Venta
Criaturas en Venta

male vocalist,regional music,hispanic american music,hispanic music,hip hop,energetic,rhythmic,hedonistic

Pillars of heaven
Pillars of heaven

Odd Complex Polyrythmic distorted detuned guitar djent prog hyperpop female singer like maynard james keenan

Cry two tears in a bucket, funk it!
Cry two tears in a bucket, funk it!

808 On the 1, 70's Deep Psychedelic Soul, P-Funkwave, 70's R&B, Lo-fi Classic Soft Rock

Neon Nights
Neon Nights

Ambiance. Synth pop. gritty male and female vocal. Loud bass. Emotional. Heart breaking.

Uncertain Hopelessness
Uncertain Hopelessness

progressive rock, sad, minor, 7/8 time signature, polyrythm, bass, studio record

一定要搞大佢個肚
一定要搞大佢個肚

Cantonese angry man, powerful man voice heavy metal

Cahaya Ramadan
Cahaya Ramadan

indonesian pop rhythmic

We can play undercovers
We can play undercovers

Melodic male, HipHop, soulful melodies, warm harmonies, comfort, togetherness, cozy nights.

Whispering Winds
Whispering Winds

emotional melodic dreamy chill acoustic deep slow soft

Medieval Nights
Medieval Nights

medieval rhythmic energetic

Rule the Roost
Rule the Roost

smooth, R&B, hiphop, dance, catchy, Male singer

Melodic Pulse
Melodic Pulse

instrumental,electronic,electronic dance music,energetic,party,repetitive,house,techno,electro house,uplifting,progressive house,melodic,trance,warm

Drifting Towards the Singularity
Drifting Towards the Singularity

americana acoustic folksy

中西合鳴1長2
中西合鳴1長2

melodic, anthemic, passionate, chinese folk music, love,

Merry Glade Serenade
Merry Glade Serenade

female vocalist,folk,contemporary folk,acoustic,american folk music,traditional,english folk,guitar

Ströntistel
Ströntistel

epic dark folk rock