Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Does it work? Then it's correct Commented Sep 20, 2016 at 15:01
  • Yes it works But is it the correct way to implement the bubble sort. Commented Sep 20, 2016 at 15:03
  • What do you mean by correct? If the program does it's job, why would it be incorrect? Are you looking for a more pythonic, more succinct, more elegant solution? Commented Sep 20, 2016 at 15:05
  • No just wanting to do it in the correct way. Commented Sep 20, 2016 at 15:12
  • Again, what do you mean by the correct way. Please define what you mean by correct. If it works, it's correct - why is your script not correct? What's incorrect about it? Commented Sep 20, 2016 at 15:14