#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
⚡ FREE · RUNS IN YOUR BROWSER

Python Mini Projects: Small Programs That Teach Real Skills

Pick a project, read the code, change it and run it right here with real Python.

  • 🧩 12 complete projects
  • ▶️ Real Python, no install
  • ✏️ Edit and re-run

How to use the Python Mini Projects

  1. 1. Pick a projectFilter by Beginner or Intermediate.
  2. 2. Run itType answers for input() in the Input box, one per line, and press Run.
  3. 3. Make it yoursChange the code, add a feature and run it again. Download the .py file.

The projects

8 beginner and 4 intermediate projects, each a complete program of 15–40 lines:

  • Beginner: number guessing game, simple calculator, to-do list manager, password generator (using the secure secrets module), rock-paper-scissors, word frequency counter, unit converter and bill splitter.
  • Intermediate: loan EMI calculator with a repayment schedule, multiple-choice quiz game, student grade report and a contact book that validates Indian mobile numbers with a regular expression.

Each project lists the concepts it practises, such as while loops, dictionaries, f-strings, functions, Counter or regex, so you know what you are learning. The code runs with real Python 3 in your browser through Pyodide, which loads once (about 10 MB) and then runs offline from your browser's cache.

Worked example and ideas to extend

Open Loan EMI calculator. Its Input box holds three lines: 500000, 10 and 60, meaning ₹5,00,000 at 10% a year for 60 months. Run it and the output starts:

Monthly EMI: ₹10,623.52
Total interest: ₹137,411.34

followed by the first three rows of the schedule. The program uses the standard EMI formula; the interest rate is whatever you type, so use the rate your bank actually quotes.

Ideas to take each project further, which make good portfolio pieces:

  • Save the to-do list or contacts to a JSON file so they survive a restart.
  • Add a high-score table to the guessing game.
  • Turn the quiz into a web app with Flask, or the calculator into a GUI with tkinter.

Frequently asked questions

Why does it say I gave too little input?

Each input() reads the next line from the Input box. Add more lines if the program asks more questions.

Can I use these in my portfolio?

Yes, as practice. Extend them with your own features and explain your changes in a README.

Does random work?

Yes. Games give different results each run.

Do I have to pay for the python mini projects?

No, it is free. Running your first project asks for your name and WhatsApp number one time only. Then the python mini projects and all other Uncodemy tools stay open for you with no form.

More free tools

See all free tools