DEV Community

Cover image for Day 23 of My 90 Days Python Series – Number System Converter
momina raheel (Moona)
momina raheel (Moona)

Posted on

Day 23 of My 90 Days Python Series – Number System Converter

🤯 Struggling with Number Systems?

If you’re learning computer science or programming, you’ve probably struggled with converting numbers between:

  • Decimal
  • Binary
  • Octal
  • Hexadecimal

And honestly… trying to memorize all those steps can be exhausting 😵.

That’s why I built this project: a Python Number System Converter 🐍.
No need to stress over conversions — just run the code, enter your number, and instantly get the result in any system you like.


🧮 What This Project Does

  • Converts decimal → binary, octal, hexadecimal
  • Converts binary, octal, hexadecimal → decimal
  • Beginner-friendly (made with loops, conditionals, and Python built-ins)
  • Runs in your terminal with no extra libraries needed

🖥️ Example Usage

Welcome to the Number System Converter! 🎉

Choose an option:
1. Decimal to Binary
2. Decimal to Octal
3. Decimal to Hexadecimal
4. Binary to Decimal
5. Octal to Decimal
6. Hexadecimal to Decimal
7. Exit

Enter your choice: 1  
Enter a decimal number: 42  
Binary: 101010
Enter fullscreen mode Exit fullscreen mode

📂 GitHub Repository

👉 Check out the full code here:
Day 23 – Number System Converter


🌟 Why This Project?

This project is part of my 90 Days of Python Series, where I build small, practical projects daily to sharpen my coding skills.

If you’re also on a learning journey, I hope this inspires you to build your own little projects — they’re the best way to learn.

Stay tuned for Day 24! 🚀

Top comments (0)