A wonderfully overengineered Python project that explores every possible way to prove, confirm, or spiritually deduce whether 1 is actually 1.
Honestly? I'm a 6th Sem B.Tech student in Delhi and I should probably be studying. But I saw someone do this for Zero and I thought—why let Zero have all the fun?
If you think
1 == 1is enough, you’re too sane for this repo,
but where's the fun in that?
This repo is a growing collection of unreasonably complicated ways to check if 1 == 1.
Yes, the answer is always True. No, that won't stop us.
We’re talking:
- Using Trigonometry to find 1 (thanks, Class 12 math).
- Subtracting Unicode values like we’re hacking the Matrix.
- Using Logarithms because we forgot how to count.
- Checking System Memory just to be absolutely sure.
Wanna make this dumber? You're welcome here.
All you have to do is:
- Fork this repo.
- Add a new function to
is_one_one.py. - Make sure it returns
True(because 1 is 1). - Important: If your code is easy to understand, you're doing it wrong. We want chaos, not clean code.
- Bonus points for using libraries that have no business being in a math script (like
BeautifulSouporPandas). - Open a Pull Request.
Examples:
def is_one_using_quantum_mechanics():
# 15 lines of matrix multiplication that
# always results in the identity matrix
return True
def is_one_using_indian_parents_expectations():
expected_rank = 1
return expected_rank == 1Please do not write smart or clean code. We don’t do that here.
Looking for a specific way to prove 1 is 1? Check out our Methods Directory for a full list of available functions, their logic, and usage examples.
python is_one_one.py
You'll see a bunch of checks that all (somehow) confirm that 1 is indeed 1.
My contribution to the internet (useless stuff).
Efficiency is boring.
Because someone once made a repo called is_zero to prove nothing. I felt it was only fair to give the number 1 the same level of unnecessary attention.
MIT — Do whatever you want with this chaos.
If you're reading this and thinking
“This is actually the most useless thing I’ve seen all week”
...mission accomplished. I spent way too much time on this just to prove a point that didn't need proving.
A huge thanks to the legends who decided to waste their CPU cycles on this:
Click on any contributor's avatar above to visit their GitHub profile. New contributors are automatically added here!
While this repo is chaotic, the infrastructure behind it is production-grade. I'm using this as a study in DevOps and Software Reliability:
- Automated CI Pipeline: Every Pull Request is automatically vetted by a GitHub Actions runner on Ubuntu.
- Regression Testing: A dedicated
test_core.pysuite ensures that new "chaos" doesn't accidentally break the fundamental proof of 1. - Branch Management: Utilizing a professional Issue-to-PR workflow to manage community contributions.
If this project gave you brain rot:
- Star this repository (It keeps me motivated).
- Follow me for more overengineered nonsense.
- Share it with a friend who writes "too much code."
Made with ❤️ and ☕ by itsdakshjain