Hey, please how can i logically sort for numbers in a list
list = [10, 5, 2, 7, 20]
without the sort()
using only if statements and for loops and no while loop.
Subomi 0 Newbie Poster
rrashkin 41 Junior Poster in Training
Subomi 0 Newbie Poster
Lardmeister 461 Posting Virtuoso
slate 241 Posting Whiz in Training
Subomi 0 Newbie Poster
aVar++ 14 Posting Whiz
aVar++ 14 Posting Whiz
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.