Skip to content

MayanK23YadaV/python-learning-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Python Learning Projects

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.


🌟 What’s Inside?

1. Faulty Calculator 🤔

  • 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.
  • Why It’s Cool:

    • It’s not just functional—it’s entertaining.
    • A great exercise in conditional logic and user interaction.

2. Jarvis (Basic AI Assistant) 🤖

  • 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.

3. Message Encryption and Decryption 🕵️‍♂️

  • 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:
        1. The first letter sneaks to the end.
        2. Random characters are added to cloak it further.
      • For shorter words, it just flips the string.
    • Decryption:
      • Reverse the process to reveal the original message!
  • Why It’s Cool:

    • Simple yet powerful introduction to cryptography concepts.
    • Feel like a spy while coding and decoding your messages.

💻 Tech Stack

  • Python: The star of the show.
  • Libraries used:
    • pyttsx3 for converting text to speech.
    • speech_recognition for listening to your voice.
    • openai for AI-based responses (powered by GPT).

🚀 How to Get Started

  1. Clone this repository to your system:

    git clone https://github.com/MayanK23YadaV/python-learning-projects.git  
  2. Navigate to the desired project folder:

    cd <project-folder-name>  
  3. Run the script:

    python script_name.py  
  4. For the Jarvis project, ensure your OpenAI API key is added to an apikey.py file.


🎨 Why This Repository is Unique

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.


📫 Let’s Connect!

Are you a fellow coder, an aspiring Pythonista, or just someone curious about these quirky projects? Let’s connect:


Feedback is Gold!

If you like what you see, give this repository a ⭐! Found something cool? Share your feedback or contribute to make it even better.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages