+ 1

I need help with Python bubble sort

I copied the code from an app, it works fine. I would like to change it to user input, both to int and string https://code.sololearn.com/c53V07Wq0WVr/?ref=app

13th Apr 2020, 9:02 PM
Leonardo Monterey
Leonardo Monterey - avatar
6 ответов
13th Apr 2020, 10:33 PM
Cmurio
Cmurio - avatar
0
Alrighty then
13th Apr 2020, 9:07 PM
Leonardo Monterey
Leonardo Monterey - avatar
0
the input works but the code is not sorting the input
13th Apr 2020, 9:25 PM
Leonardo Monterey
Leonardo Monterey - avatar
0
It does allow user input, but the code does not sort the number
13th Apr 2020, 9:37 PM
Leonardo Monterey
Leonardo Monterey - avatar
0
Check out this code, it is also not sorting the string correctly https://code.sololearn.com/c1SqnNsc5XA6/?ref=app
13th Apr 2020, 9:45 PM
Leonardo Monterey
Leonardo Monterey - avatar
0
Very Nice Code. Official Kibo I was the bugg in the code, not understanding bubble sort clearly enough. My goal is to learn User Input, in all sense of computing seems I need to interject Regular Expressions, for example , of course splitting multiples, adding commas excetra. I am kinda breaking into coding from bigginer to intermedite where I am learning to apply coding principles to web, python, c++, php, for example, so I have to be proficient in all the codes at every level. One level is User Input. So this is just one chapter in programming. Thanks For Helping Along.
14th Apr 2020, 7:03 PM
Leonardo Monterey
Leonardo Monterey - avatar