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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file bubble_aopy-0.1.0.tar.gz.

File metadata

  • Download URL: bubble_aopy-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10

File hashes

Hashes for bubble_aopy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5cd1eeccf3c5cc92fde677b5ad3368c4bd77fea27104a5ebb6e78396e83e1f15
MD5 e159156382711b5813e1f5ed0d705d4d
BLAKE2b-256 502a390d2b9daa532a97100834d472aab74dedef835eabfd339de72d736a1bb5

See more details on using hashes here.

File details

Details for the file bubble_aopy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bubble_aopy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10

File hashes

Hashes for bubble_aopy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0dd69656623f795e1231b8b7c19f19ef3966ed8c756aa341bb334294538b986
MD5 26877e39f4056e3ad5e6926ba549ad06
BLAKE2b-256 d1b53feaa5f3c906d385b5d26b23551d1e4ed63dd9b6ff6ef6b5bb0d9e011808

See more details on using hashes here.

Supported by

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