500+
Auto-checked exercises
Multiple choice, predict the output, fix the bug, fill the blank, put lines in order and write your own code. All checked instantly.
A hands-on Python course for college students and first-time coders. 10 focused lessons, 500+ auto-checked exercises and a real Python compiler in your browser. Finish with a project you wrote yourself and a verifiable certificate for your LinkedIn.
PYTHON QUIZ Question 1: What does print() do?> display textCorrect! Question 2: Which symbol compares two values?> ==Correct! Your score: 8/10Excellent work!$
↑ The quiz game you build in Lesson 10.
In short
Mentr Learn Python is a hands-on online Python course for beginners — college students, career switchers and school students from Class 6. Python Beginner has 10 lessons: printing text, variables, user input, if/else, logic, loops, strings, lists and functions, then a final project where you build a quiz game. It includes 500+ auto-checked exercises, lesson notes, an in-browser Python compiler and a verifiable certificate. No fee, no card.
01 / A new way
Most beginners buy a long video course, watch a few hours and quietly stop. Nobody learns to code by watching. You learn by writing code, getting it wrong and fixing it.
So that’s the whole course: short lessons where you do something every minute, questions that check you instantly, and a compiler right in your browser. No paid program, no 400-page documentation, nothing to install.
The usual way
Mentr Learn Python
A 60-hour video course you half-watch at 2× speed
About 8 hours of short lessons where you do something every minute
₹3,000 to ₹50,000 for a paid program or bootcamp
No fee, no trial, nothing locked behind a paywall
Long documentation written for working engineers
Plain English and real-world examples, one idea at a time
Install Python and set up an editor before line one
Code runs in your browser, even on a phone
Nobody checks your work until the exam
Every answer is checked instantly, with a hint when you're wrong
You guess what code will do before you see it. Wrong guesses are where the learning happens.
You watch a program get built line by line, then build one yourself. Beginners learn faster this way than from a blank page.
A question after every idea, not one big test at the end. Recalling something is what makes it stick.
XP for every right answer, badges and a daily streak keep you coming back for ten minutes a day.
02 / What you get
500+ auto-checked exercises, an in-browser Python compiler, lesson notes and runnable examples — in one place, built for beginners, and working on any laptop or phone.
500+
Multiple choice, predict the output, fix the bug, fill the blank, put lines in order and write your own code. All checked instantly.
Py3
Write and run any Python program in your browser. Type input() answers right in the console, like a real terminal. Nothing to install.
10
Short slide notes for every lesson, with diagrams, tables, exam tips and flashcards. Read them again any time before a test.
Live
Step through code line by line and see each variable change. Then edit the example and run it yourself.
1
Build a complete quiz game on your own, with hints one at a time if you get stuck.
50
Earn XP for every right answer, climb 50 levels, unlock 10 badges and keep a daily streak.
In-browser Python compiler
Real Python 3, running in your browser. When your program asks a question with input(), you type the answer right in the output, like a real terminal. Errors point to the exact line and explain the fix in plain English.
▶ Run main.py What is your name? AaravHow old are you? 12Hi Aarav! Next year you will be 13. finished in 4 ms$
03 / Compare
It’s not a video loop, and it’s not a paid program. Here’s how Mentr Learn Python compares with the usual options, row by row.
| Feature | This courseMentr Learn Python | YouTube video courses | Paid video courses | Coding classes | Docs & tutorial sites |
|---|---|---|---|---|---|
| Price | No fee, everything included | Free, with ads | Paid course fee | High fee, often monthly | Free |
| Time to learn the basics | About 8 hours, hands-on | 10–60 hours of video | 20–60+ hours of video | Months of fixed classes | No clear path |
| How you learn | You do: predict, fix and write code | You watch | You watch and copy | Group pace, set by the class | You read long pages |
| Practice with instant feedback | 500+ questions, checked instantly | None | A few quizzes | Homework, checked later | Rarely |
| Write and run code | Built-in compiler, nothing to install | Install Python yourself | Usually install yourself | On the class computer | Some have a try-it box |
| Works on a phone | Yes, including the compiler | Watch only | Watch only | No | Reading only |
| When you're stuck | Hints, error line highlighted, plain-English fix | Scroll the comments | Post in a Q&A forum | Wait for the next class | Search on your own |
| Made for beginners | Yes — college students, career switchers, Class 6+ | Mixed | Mostly for adults | Depends on the class | Written for developers |
| Progress you can see | XP, levels, badges and a verifiable certificate | None | Progress bar, certificate | Teacher feedback | None |
← Swipe to see all columns
Compares typical formats, not specific brands. Prices and course lengths vary.
Skip the 60 hours of video. Start writing Python today.
04 / The basics
Python is a programming language — a way to give a computer instructions it can follow. It’s known for being easy to read, which is why it’s the most popular first language for beginners.
You write a line like print("Hello"), run it, and the computer shows Hello. Every app, game and website is made of instructions like this — just many more of them.
Score counters, guessing games, quiz apps — the kind of thing you build in this course.
Parts of apps you use every day, like YouTube and Instagram, run on Python.
Most AI and machine learning tools are built with Python. So is a lot of science research.
05 / Why Python
Because it’s the easiest real programming language to start with. Python code is short and reads almost like English. Here’s the same program — show the word Hello — in Java and in Python.
Java · 5 lines
1public class Main {2 public static void main(String[] args) {3 System.out.println("Hello");4 }5}Five lines, and a lot of extra words, before anything shows on screen.
Python · 1 line
1print("Hello")One line. You can read it out loud and know exactly what it does.
if score >= 50: print("Passed") reads almost like English. You spend your time thinking about the problem, not fighting with symbols.
CBSE Computer Science and Informatics Practices in Class 11 and 12 use Python. Learning it now gives you a head start.
Websites, apps, games, data analysis and AI tools are all built with Python. It’s not a toy language.
Loops, lists and functions work the same way in Java, C++ and JavaScript. Learn them once in Python and the next language is much easier.
06 / Inside a lesson
Every lesson follows the same five steps, so you always know what comes next. And every lesson ends with you writing a small program on your own — not just answering a quiz.
A new idea, explained with an everyday example.
Read a short piece of code and guess what it will do.
Build a small program step by step, with help.
Quick questions with instant feedback: predict, fix and write code.
Write a small program on your own to finish the lesson.
07 / Syllabus
10 lessons, from your first line of code to your first full project. Tap a lesson to see what’s inside: the topics, the code you’ll write, a practice question to try, the mistake to avoid and a small challenge.
A robot does nothing until it gets exact instructions, in the right order. Python is a way to write those instructions.
Text needs quotes. print(Hello) is an error; print("Hello") works.
Write and run a multi-line program and explain the order it runs in.
1# This is my first program2print("My name is Aarav")3print("I am 12 years old")4print("I love games")print("A")
print("B")
print("C")Which letter appears first?
A. Python runs a program from the top line down, one line at a time.
Introduce yourself in at least four lines.
A variable is a labelled box. In score = 100, score is the label on the box and 100 is what’s inside.
Names can’t start with a number or contain spaces. player_score works; 2score and player score don’t.
Store text, whole numbers, decimals and True/False, and tell the four types apart.
1name = "Aarav"2age = 123height = 5.44is_student = True56print(name, age, height, is_student)score = 10 score = 20 print(score)
What gets printed?
20. A variable holds only its latest value; the 10 is replaced.
A game player profile with name, age, score and favourite game.
Until now the program knew everything in advance. With input(), the person at the keyboard gets to answer.
% gives the remainder, not a percentage. number % 2 == 0 means the number is even.
Ask for values, convert them, and calculate with all five operators.
1num1 = int(input("First number: "))2num2 = int(input("Second number: "))34print(num1 + num2)5print(num1 - num2)6print(num1 * num2)age = input("Age: ")
print(age + 1)Why does this crash?
input() always returns text, and text can’t be added to a number. int(input("Age: ")) fixes it.
A bill calculator: enter price and quantity, print the total.
If it’s raining, take an umbrella. Otherwise, don’t. Programs make decisions the same way, one condition at a time.
= stores a value; == compares two values. Mixing them up is the most common bug in this lesson.
Write if / elif / else using all six comparison operators.
1age = int(input("Enter your age: "))23if age >= 10:4 print("You can play!")5else:6 print("You cannot play yet.")score = 72
if score >= 90:
print("Excellent")
elif score >= 70:
print("Good")
else:
print("Try again")Which word is printed?
Good. Python checks from the top and stops at the first condition that is true.
A grade checker: marks in, grade out.
You can enter the competition if you’re at least 10 and you scored at least 50. Both have to be true. This lesson is less new syntax, more thinking.
Nesting works, but two levels is usually the limit. A single and often reads more clearly.
Combine conditions with and, or and not, and decide when nesting helps.
1age = int(input("Age: "))2score = int(input("Score: "))34if age >= 10 and score >= 50:5 print("Eligible")6else:7 print("Not eligible")A = True B = False print(A and B) print(A or B) print(not A)
What are the three results?
False, True, False. and needs both; or needs one; not flips the value.
A game unlock: enough points and the right level opens the next stage.
Typing print("Hello") five times is fine. Then someone asks for five hundred.
A while loop needs something inside it to change, or it never stops.
Repeat work with for and range(), and write a while loop that ends.
1number = int(input("Enter a number: "))23for i in range(1, 11):4 print(number, "x", i, "=", number * i)for i in range(1, 4):
print(i)What gets printed?
1, 2, 3. range stops just before the end number.
A countdown: 5, 4, 3, 2, 1, GO!
To Python, the word "Python" is six characters standing in a row, numbered from 0.
Index and length are different. The last letter of a 6-letter word is at index 5, not 6.
Read, measure and change text with indexing and string methods.
1first = input("First name: ")2last = input("Last name: ")3number = input("Favourite number: ")45username = first.lower() + last[0].lower() + number6print(username)name = "Python" print(name[0]) print(len(name))
What two values are printed?
P and 6. Counting starts at 0, but len() counts every character.
A secret message transformer that changes a message in several steps.
fruit1, fruit2 and fruit3 work for three fruits. A list keeps all of them under one name, in order.
On a 3-item list, games[3] is an error. The last item is games[2].
Create a list, change it, and loop through every item.
1games = ["Minecraft", "Chess", "Roblox"]2games.append("Football")3games.remove("Chess")45for game in games:6 print(game)games = ["Minecraft", "Chess"]
games.append("Roblox")
print(len(games))What gets printed?
3. append() adds one item to the end.
A shopping list program: start with items, add one, remove one, print all.
Writing the same lines again and again? Give them a name, then call the name.
print() shows a value on screen. return hands it back so the rest of the program can use it.
Write functions with parameters and return values, and reuse them.
1def calculate_score(correct, total):2 return correct * 100 / total34result = calculate_score(8, 10)5print(result)def add(a, b):
return a + b
print(add(5, 3))What gets printed?
8. 5 and 3 go in, add() returns their sum.
Write greet(), calculate_total() and check_score(), then use all three in one program.
No video this time. A problem, a blank file, and five hints if you need them.
Get one question working first, then add the loop.
Plan and build a complete program from a blank file.
1questions = ["What does print() do?", "Comparison symbol?"]2answers = ["display text", "=="]3score = 045for i in range(len(questions)):6 reply = input(questions[i] + " ")7 if reply == answers[i]:8 score = score + 1Finish the game with your own questions and a final result message.
All 10 lessons are open. Start with Lesson 1 today.
08 / Final project
A quiz game, written by you. Lesson 10 has no video. You get a task: build a game that asks questions, checks the answers and keeps score. You won’t see the full answer. If you get stuck, open a hint.
PYTHON QUIZ Question 1: What does print() do?> display textCorrect! Question 2: Which symbol compares two values?> ==Correct! Your score: 8/10Excellent work!$
The game uses everything from the course: variables, input, text, if/else, loops, lists and functions. When it runs, you’ve written a complete program on your own — and you earn the Python Beginner badge.
09 / Certificate
Verifiable, and earned — not handed out. Complete the course and you get a Python Beginner certificate with your name, what you built and a unique ID recruiters can check online. Here’s Winni’s.
CERTIFICATE OF COMPLETION
PYTHON BEGINNER COURSE
This certifies that
Winni
has earned the Python Beginner certificate on Mentr for completing all 9 lessons of study, solving 64 practice problems and 58 examples, and building the Final Challenge project: Mini Quiz Game.
4 February 2026
Date issued
2480 XP
Earned in the course
Verify: mentr.in/learnpython/certificate/MPY-7K2D-QX9M
Go through the Study slides in all the lessons.
Answers you reveal don’t count — only the ones you get right.
Step through programs to the last line, or hit a playground’s goal.
Write it, press Run. A working program is marked complete.
10 / Levels
Python Intermediate, then Python Advanced. Finish a level to earn its badge. Beginner is open now; the next two levels are coming soon and will open on this page.
Level 1
From your first print() to a working quiz game. No coding background needed.
Badge earned by: build a complete mini quiz game on your own
Level 2
Write longer programs that hold real data, recover from errors and stay organised.
Badge earned by: build small tools that save and load data
Coming soon
Level 3
Think in algorithms, work with outside data and structure code like a developer.
Badge earned by: ship a multi-file project you can show
Coming soon
11 / Who it’s for
If you’ve never coded, or only copied code you didn’t understand, start here. No background needed — just a laptop or phone and a few focused hours.
College students
Get comfortable with Python before your data, AI or programming courses — and have a project and a certificate to show for it.
Career switchers
Automation, analytics and AI work all start with Python. Learn the fundamentals properly, at your own pace, around your job.
School students
Python is the language of CBSE Computer Science in Class 11–12. Every lesson ends with a program you can run and show.
Younger learner? For Class 3–5, start with Mentr Learn — coding, AI and maths with no typing.
12 / FAQ
Yes. Meet the course requirements and you get a Python Beginner certificate with your name, what you built and a unique ID. Anyone — a recruiter or your college — can verify it on mentr.in. Add the link under Licenses & certifications on LinkedIn or on your résumé.
Yes. If you’re in college and haven’t coded in Python yet — for placements, internships, a data or AI elective, or just to get started — Python Beginner takes you from zero to writing complete programs in about 8 hours of hands-on lessons.
Yes. Python Beginner on Mentr Learn is a full 10-lesson course with no fee. There’s no trial, no card and nothing locked behind a payment.
Yes. Python is the most popular first programming language because the code is short and easy to read. A first program is one line: print("Hello").
The basics are not hard. Python Beginner teaches one idea per lesson, starts with everyday examples, and gives you practice after every new concept. If you can follow a recipe, you can follow a Python program.
Class 6 (around age 11) is a good time to start typed Python. For younger children in Class 3–5, Mentr Learn offers coding, AI and maths lessons that don’t need typing.
Python Beginner is 10 lessons and fully self-paced. At one or two lessons a week, you’d finish the basics in about one to two months, including the final project.
No. To learn the basics you need practice, not hours of video. Python Beginner is about 8 hours of short lessons where you predict, fix and write code yourself, with 500+ questions that are checked instantly.
Yes. Every learner gets a Python compiler that runs in the browser, on laptops and phones. Write any program, press Run, and type answers to input() right in the output console. Nothing to install.
No. Lesson 1 starts from zero: what programming is and how to show text on screen with print(). Each lesson builds on the one before.
Write small programs on your own — a calculator, a grade checker, a times table, a shopping list — and a complete quiz game that uses variables, input, if/else, loops, lists and functions together.
Websites and apps, games, automating boring tasks, data analysis, science research, and artificial intelligence and machine learning. Many of the AI tools people use today are built with Python.
Python Beginner is open now. Python Intermediate and Python Advanced are being built and will open on this page. Finishing Beginner is the right way to prepare for both.
Mentr Learn for Class 3–5 teaches computer science, AI and maths with narrated videos and block coding — no typing. Learn Python is real typed Python from the first lesson, for older students and beginners of any age.
Yes. Search Python tutors on Mentr and book an online demo from any tutor’s profile. The course stays fully open whether or not you hire a tutor.
Lesson 01
It takes about a minute to start. Every lesson, the compiler and the certificate are open to you from day one.