Welcome to my little corner of the coding universe! 🚀 This repository is home to some playful, quirky, and creative Python projects that helped me navigate the world of programming. Each project is a step forward in mastering Python while having loads of fun along the way.
-
Description:
This isn’t your average calculator—it’s a prankster! Designed to throw off unsuspecting users, it delivers "special" outputs for a few chosen operations while working fine for the rest. -
How it Works:
- Enter
45 * 3→ It cheekily outputs 555! - Try
56 + 9→ "cheating karoge" (a surprise twist instead of the correct answer). - For
56 / 6, it mischievously displays 4. - All other operations? They behave like an obedient calculator.
- Enter
-
Why It’s Cool:
- It’s not just functional—it’s entertaining.
- A great exercise in conditional logic and user interaction.
-
Description:
Imagine a mini Iron Man assistant on your computer! This AI-powered companion uses OpenAI to answer your questions and even perform small tasks like opening websites—all through your voice commands. -
How it Works:
- Talk to Jarvis: Speak naturally, and it listens, understands, and responds.
- Superpowers: Open YouTube, Google, and other cool sites at your command.
- Powered by speech recognition, text-to-speech, and OpenAI’s GPT API, it’s your personal tech sidekick!
-
Why It’s Cool:
- A blend of voice interaction and AI smarts.
- The perfect entry into the world of AI and automation.
-
Description:
Secret agent vibes, anyone? 🕶️ This project turns your messages into a coded language and can decode them too. Your secrets are safe with me! -
How it Works:
- Encryption:
- If your word has 3+ characters:
- The first letter sneaks to the end.
- Random characters are added to cloak it further.
- For shorter words, it just flips the string.
- If your word has 3+ characters:
- Decryption:
- Reverse the process to reveal the original message!
- Encryption:
-
Why It’s Cool:
- Simple yet powerful introduction to cryptography concepts.
- Feel like a spy while coding and decoding your messages.
- Python: The star of the show.
- Libraries used:
pyttsx3for converting text to speech.speech_recognitionfor listening to your voice.openaifor AI-based responses (powered by GPT).
-
Clone this repository to your system:
git clone https://github.com/MayanK23YadaV/python-learning-projects.git
-
Navigate to the desired project folder:
cd <project-folder-name>
-
Run the script:
python script_name.py
-
For the Jarvis project, ensure your OpenAI API key is added to an
apikey.pyfile.
These aren’t just beginner projects—they’re stories written in code. Whether it’s a calculator with a personality, an assistant with a voice, or secret messages waiting to be cracked, there’s a little bit of fun and creativity in every project.
Are you a fellow coder, an aspiring Pythonista, or just someone curious about these quirky projects? Let’s connect:
- Email: mayankyadav.tech.coder@gmail.com
- LinkedIn: Mayank Yadav
- GitHub: MayanK23YadaV
If you like what you see, give this repository a ⭐! Found something cool? Share your feedback or contribute to make it even better.