Skip to content

#HACTOBERFEST UDATE CODE#64

Open
Philomathic-boy wants to merge 1 commit into
mujacm:mainfrom
Philomathic-boy:main
Open

#HACTOBERFEST UDATE CODE#64
Philomathic-boy wants to merge 1 commit into
mujacm:mainfrom
Philomathic-boy:main

Conversation

@Philomathic-boy

Copy link
Copy Markdown

Function and variable names are written in lowercase with underscores (snake_case) following Python's naming conventions.

Added a docstring or comment to the bubble_sort function to explain what it does.

Removed unnecessary comments that were only explaining the loop ranges. The code is self-explanatory without these comments.

Changed the loop that prints the sorted array to use a for element in arr loop for cleaner and more Pythonic code.

Function and variable names are written in lowercase with underscores (snake_case) following Python's naming conventions.

Added a docstring or comment to the bubble_sort function to explain what it does.

Removed unnecessary comments that were only explaining the loop ranges. The code is self-explanatory without these comments.

Changed the loop that prints the sorted array to use a for element in arr loop for cleaner and more Pythonic code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant