Skip to main content

No project description provided

Project description

:space_invader: About

This code is implementing the bubble sort algorithm to sort an array of integers in ascending order. It iterates through the array and compares adjacent elements, swapping them if they are in the wrong order. The process is repeated until the array is sorted. The main function is a test case that calls the bubble_sort function with an example array and prints the sorted result.

:wrench: Requirements

The following Python libraries are required:

:runner: Usage

In the terminal, navigate to the folder containing the code and run it using the following command:

python bubble_sort.py

:raising_hand: Contribution

All contributions are welcome! Please open an issue or submit a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bubble_aopy-0.1.0.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

bubble_aopy-0.1.0-py3-none-any.whl (1.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page