I have a question for Python

Asked 2 years ago, Updated 2 years ago, 16 views

I have to make A=(5,3,7,1,9) as (1.3.5.7.9) (9.7.5.3.1) using only ifelse whilelen, but I don't know what to do...Do not use Sort reverse

python

2022-09-22 08:26

1 Answers

There are several sorting algorithms, but why don't you use bubble sorting that is intuitive and easy to understand?

This video will help you understand bubble alignment.


2022-09-22 08:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.