Python for beginners
Get started with Python! Learn how to create programs and projects in Python. Work with strings, lists, loops, dictionaries, and functions.
In this learning path, you'll:
Write your first program in Python
Explore packages to better manage projects
Learn Python basics, including the following elements:
- Boolean types
- Strings
- Mathematical operations
- Lists and loops
- Dictionaries
- Functions
- Error checking
Get familiar with Jupyter notebooks
Prerequisites
None
Achievement Code
Would you like to request an achievement code?
Modules in this learning path
Learn how to write a few lines of Python code, declare variables, and work with console input and output
In this module, you'll learn a variety of topics, like input and output to the console, variables and data types, and type conversion.
Explore how to use Boolean logic in Python to craft complex expressions that apply conditional logic.
Use one of the most common types in Python to represent text. From simple formatting to representing variables, using operating strings is a critical skill for Python developers.
Almost every application a developer creates involves some level of math. This module explores the core functionality in Python and arithmetic operators. You'll also explore how to perform more manipulations of data and numbers. You'll put this knowledge to use to create a project to determine the distance between planets.
You'll often work with multiple values in a program. In Python, you can group data together by using lists. In this module, you'll learn how to use lists and what the most common tasks with lists are.
With Python, you can use while
loops to run the same task multiple times and for
loops to loop once over list data. In this module, you'll learn about the two loop types and when to apply each.
Python dictionaries allow you to model complex data. This module explores common scenarios where you could use dictionaries.
The next step after using procedural code is to write modular software by using functions. Functions, from simple ones to multiple-argument ones, are useful in making code reusable.
Handle exceptions and create useful error messages. Improve your skills by using exceptions for code flow control.