4 Respuestas
+ 3
You can sort anything that can be compared. You can provide a custom comparator function to your sorting function if you want. Python also provides magic methods for comparisons.
Memory leaks: I don't think so, but I might be wrong.
+ 1
EVERY thing in Python is an object. So if you do any kind of bubble sort in Python, you are doing this with objects.
+ 1
Yes you can bubble sort.
+ 1
Kevin ★ Thanks for your reply.... 🤔 Most likely to be true....