0
Bubble Sort V2 won't sort values on my phone. But will work perfectly fine on my PC. Why?
check the code I've linked. I ran it on Qpython3 on my phone and it just endlessly attempts to sort the values but never actually does. however, when the EXACT same code is run on my PC it works perfectly. Any answers? https://code.sololearn.com/cqDEtys9Rbx4/?ref=app
5 ответов
+ 1
The compiler etc. on Sololearn does not work as on a computer/elsewhere. Many functions are not available here.
+ 2
Oh well, I was just looking for a second opinion. I'll try it out anyway though. Thanks for the help.
0
I was thinking, at first, that I should achieve this script using list slicing but I wasn't sure. Should I have done that instead?
0
Oh ok. What are you're thoughts on the use of list slicing to bubble sort?
0
Idk, the last time I implemented Bubble Sort (for practice) was almost 3 years ago, using Java.