Programming & Software course
Python Basics
Write basic Python programs using variables, user input, arithmetic operations, and conditional logic.
10 lessonsabout 70 minutes in allBeginnerFree
Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
- Write small Python programs that use variables, arithmetic, text, and user input
- Evaluate comparisons and use conditional branches to produce different results
- Run code interactively or from a saved script and explain what basic statements do
What you'll learn, lesson by lesson
- 1What a Program Really IsExplain what a program is in one sentence.
- 2Running Python CodeTell a line typed at the prompt from a saved script.
- 3Printing and CommentsUse print to show a message and a calculated number.
- That's a preview. 7 more lessons follow.
Take all 10 lessons free in the Milo app, with Milo teaching each one.
Start this course free - 4Python as a Calculator
- 5Naming Values with Variables
- 6Text Is a Type Too
- 7Asking the User
- 8True, False and Comparisons
- 9If, Elif and Else
- 10When an If Isn't Needed
Inside the app
Not a video. A tutor who teaches you.
Milo explains each idea of Python Basics out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.
Start free

More in Programming & Software
See allFree to learn
This course is free. So is Milo's help planning it.
Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.
- Can I really start for free?
- Yes. No card needed.
- Can I cancel a membership any time?
- Yes, from your account. You keep it until the end of the month you paid for.
- Where does it work?
- In any browser on a phone, tablet or computer. Phone apps are on the way.



