Python for Absolute Beginners
Your first programs, explained line by line.
Taught by Anisha Rai · Senior Software Engineer
What you'll learn
- Install Python 3 and run scripts from the terminal and from VS Code
- Store and transform data using variables, numbers, strings and f-strings
- Control program flow with if/elif/else, comparison and boolean operators
- Repeat work safely with for and while loops, range and break
- Organise data in lists and dictionaries and iterate over them
- Write reusable functions with parameters, return values and docstrings
About this course
Learn Python from zero in this free beginner course, with no previous coding experience required. You will install Python 3 on Windows, macOS or Linux, run your first program, and then build up the core ideas every programmer uses: variables, numbers and strings, conditionals, loops, lists, dictionaries and functions. Every lesson is hands-on, with short runnable examples explained line by line and practice exercises you can finish in minutes. By the end you will write a complete command-line quiz game from scratch, read simple Python code with confidence, and know exactly what to study next, whether that is data analysis, web development or automation. If you have been searching for a clear, patient introduction to Python programming for beginners, this is your on-ramp.
Course content
7 lessons- 1Installing Python and Running Your First ProgramSet up Python 3 and VS Code, run code in the REPL and from a file, and understand what a program is.Preview
- 2Variables, Numbers and StringsStore values in variables, do arithmetic, and build and format text with strings and f-strings.
- 3Making Decisions with ConditionalsUse if, elif and else with comparison and boolean operators so your programs can react to input.
- 4Repeating Work with LoopsUse for and while loops, range, break and continue to process many items without repeating code.
- 5Lists and DictionariesCollect many values in lists, look things up by key in dictionaries, and loop over both.
- 6Writing Your Own FunctionsPackage logic into reusable functions with parameters, defaults, return values and docstrings.
- 7Mini Project: A Command-Line Quiz GameCombine everything into a complete quiz game with scoring, input validation and a results summary.