Skip to main content
Exit focus mode
Table of contents
Create your first Python program
Get started with Python by writing code to interact with end users.
In this module, you will:
Create Python code files and execute that code inside of Visual Studio Code.
Write code to send a text message to the command line.
Write code to accept user input from the command line.
Understand why compilation and runtime errors occur, and what to do next.
Concatenate hard-coded text with user input to display custom-formatted messages to the user.
Perform mathematical addition on numeric data.
Convert alphanumeric data into numeric data and back (and learn why you need to do this).
Add to collection
Python 3.x installed
Visual Studio Code installed
Python tools for Visual Studio Code installed, as well as all recommended tools, such as Pylint
Exercise - Hello world!
Exercise - Hello name
Exercise - Add numbers