Bubble Sort in Python / Python Pragram

First we understand what is sorting  : Ordering data in an increasing or decreasing manner is called sorting Now we understand Bubble Sort : Bubble sort is a simple sorting algorithm that repeatedly steps through a list , compares  adjacent  elements and swaps them if they are in the wrong order The algorithm gets its … Read more

Sorting in python

Sorting in python

Sorting in python Sorting means arranging a large number of values in a specific order such as ascending and descending, alphabetical, distance, etc. Python provides built-in functions that offer powerful features to do basic sorting or customize ordering at a smooth level. Python has a built-in sort() list method that modifies it in-place and a sorted() … Read more

%d bloggers like this: