Write your first real program
Python from Zero. From your first line of code to a small project of your own.
21 lessons · 1 hr 59 min of video · 22 quiz questions
Try a question from this course
Which call gives the numbers 1 through 10?
What you'll be able to do
- Install Python and run your own programs
- Store and convert information with variables
- Make programs decide and repeat with if and loops
- Reuse code with functions
- Organize data with lists and dictionaries
- Read and write files safely
- Plan, build and tidy a small project
What's in it
Start here: your first programs
Install Python, run your first line, and learn how variables hold information.
Making decisions with if
Do arithmetic, compare values and make a program choose what to do.
Repeating things with loops
Make Python do the same job many times without copy and paste.
Functions
Name a block of code so you can reuse it with different inputs.
Lists and dictionaries
Hold many values in one variable and look things up by name.
Working with files
Read from and write to text files on your computer.
Your project: small games, built the professional way
Plan in comments, build in baby steps, then tidy up, while making a dice roller, a number-guessing game and rock-paper-scissors.
Made from these videos
- Python for Beginners - Learn Coding with Python in 1 Hour · Programming with Mosh
- Python variables for beginners ❎ · Bro Code
- Python Tutorial for Beginners 7: Loops and Iterations - For/While Loops · Corey Schafer
- Functions in Python are easy 📞 · Bro Code
- Python lists, sets, and tuples explained 🍍 · Bro Code
- Python Tutorial for Beginners 5: Dictionaries - Working with Key-Value Pairs · Corey Schafer
- Python Tutorial: File Objects - Reading and Writing to Files · Corey Schafer
- Python Projects for Beginners – Master Problem-Solving! 🚀 · Programming with Mosh























