Python for beginners

Beginner
Developer
Student
Visual Studio Code

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:

  • Get familiar with Jupyter notebooks

  • 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

Prerequisites

None

Modules in this learning path

Use Jupyter notebooks to run Python. Build a spaceship manual that has interactive, runnable Markdown and code elements.

Get started with learning Python by installing and configuring the tools you'll need to build real applications.

In this module, you'll learn a variety of topics, like input and output to the console, variables and data types, and type conversion.

To manage projects, you need a virtual environment, packages that will help you develop faster, and a strategy for maintaining packages.

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 will explore the core functionality in Python and arithmetic operators. You will also explore how to perform more manipulations of data and numbers. You will 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.