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: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing algorithm? * [ ] Add or change doctests? --...

awaiting reviews

This PR adds an implementation of the Automorphic Number check algorithm in the maths directory. Includes: - Function with type hints - Docstring with examples - Doctest for validation This...

### Feature description ### Motivation Numbers formed by repeating digits or repeating blocks—such as 111111, 424424, or structures like 10ⁿ + 1 (e.g., 100000001)—follow predictable patterns in number theory. These...

enhancement

i wanted to tell everyone that i like cats ### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug or typo in an existing...

hacktoberfest spam

### Describe your change: I just changed the print statement to present the output better * [ ] Add an algorithm? * [ ] Fix a bug or typo in...

This PR adds an Armstrong number (narcissistic number) check algorithm in the math folder. ### Describe your change: * [ ] Add an algorithm? * [ ] Fix a bug...

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

### Describe your change: * ✔ Add an algorithms ### Checklist: * [x] I have read CONTRIBUTING.md * [x] This pull request is all my own work * [x] I...

awaiting reviews
require descriptive names

### Describe your change: I have comprehensively updated the documentation within the bit_manipulation subdirectory to ensure consistency across all files. Given that bitwise operations are inherently abstract and difficult to...

def marriage(boy, girl): print(f"Girl is {girl} ") print(f"Boy is {boy}") print(f" {boy} married {girl}") marriage("virat", "anushka") marriage("yash","radhika") marriage("darshan","vijayalakshmi")