Python icon indicating copy to clipboard operation
Python copied to clipboard

All Algorithms implemented in Python

Results 1352 Python issues
Sort by recently updated
recently updated
newest added

### Describe your change: * [x] Add an algorithm? * [✓] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? -- Note: Please...

… check functions Removed tests that were expected to fail due to type errors with non-integer keys. ### Describe your change: * [ ] Add an algorithm? * [ ]...

This pull request adds a function for rectangle collision detection to geometry/collision_detection.py. Resolves #12569.

Added (1-based) to the module docstring to clarify that the a1z26 cipher uses a 1-based index (a=1, b=2, etc.).

Summary: This Pull Request improves the existing capitalize() function by making it more robust and user-friendly. The function now properly capitalises the first alphabetical character, handles Unicode letters, and preserves...

tests are failing

### Describe your change: I have added a new Python program named relationship_info.py. This program takes user input for a boy’s and a girl’s name and age, validates the input,...

awaiting reviews

This pull request adds a simple algorithm file as a practice contribution. - Added my_algorithm.py - Followed project folder structure and contribution rules - Code is clean and formatted correctly

tests are failing

I added a new function named reverse_string inside the strings folder. It returns the reversed form of a given text using a simple loop without using any built-in reverse features....

### Describe your change: Enhanced the docstring for the `selection_sort` function to address documentation inconsistencies (Issue #13948). Changes made: - Added a more detailed description of how selection sort works...

Added time and space complexity analysis to the `selection_sort` function docstring. Related to #13948 - Documentation inconsistencies ### Describe your change: * [x] Documentation change? ### Changes: - Added Time...

enhancement
awaiting reviews