Introduction

Completed

A common task is developing programs that can not only show information on a screen or a console, but also take input from users or even other programs. In this module, you'll build your first program in Python to learn how to handle input and output on the console. You'll also learn Python programming concepts, like variables and converting between data types.

Scenario: A junior programmer building your first apps

In this scenario, you're a young space cadet on a spaceship sometime in the future. Your mission is to find and explore new solar systems. You're trained as an engineer, and you're looking to develop a series of utility programs for more senior staff onboard.

What will you learn?

In this module, you'll learn to:

  • Use functions to manage input and output to the console
  • Create variables to store data
  • Distinguish between data types
  • Use type conversion to convert between data types

What is the main objective?

Use basic programming elements to create your first Python programs.

Prerequisites

You should be familiar with the concept of programming.

You don't need to install Python to complete this module. You'll use an interactive sandbox to complete the exercises.

If you want to try out the code in the explanations, you might want to work through Get started with Python in Visual Studio Code first, if you haven't already. This module will help you prepare a Python environment.