Introduction to Python
When you finish, you can
Write real Python programs from scratch — with variables, loops, functions, data structures and classes — and finish a small project you can show.
Start hereNo experience needed. Install Python or use a free online editor, and type every example yourself; do not copy-paste.
Debate a counselor
Take a position on Introduction to Python. The AI counselor argues the other side, asks you questions back, and cites a source for every fact it states. Sources listed under a reply are the pages it actually found; if none are listed, it is arguing from reasoning only. It is an AI and it can be wrong: check the sources.
What changed
Loading…
Discuss this course
A room for people taking this course, in any language, translated for every reader. Open breakout rooms for one question at a time.
Enter the course roomCourse Syllabus
8h totalPractice
- Open the Python prompt and do ten arithmetic and string operations.
- Write a program that asks your name and age and prints the year you were born.
- Deliberately mix a string and a number and read the error message until it makes sense.
Check
What does `print("3" + "4")` print, and what does `print(3 + 4)` print? Why?
Topics Covered
Ready to start?
Free. No account required. Progress saves in this browser — no account exists.
Start This Course