Course Content
Introduction to Python
Introduction to Python
The Very First Steps
Welcome to this Python module! We're excited to have you on this coding journey. Don't worry if you're new to Python or coding. Let's begin by understanding what Python is.
Python is a high-level, interpreted programming language. High-level languages use abstract syntax that is easy for humans to understand but cannot be directly interpreted by machines.
Let's dive in and print our first message using Python. We'll use the print()
function for this. When you want to print specific text, just wrap it in quotation marks, like "..."
or '...'
. If you don't, Python will assume you're referring to a variable (but we'll get to that later).
To print a sentence, use the following code:
print("Some message")
Swipe to show code editor
Your challenge? Print "Hello world!"
in the console.
Once you've completed this task, click the button below the code to check your solution.
Thanks for your feedback!
The Very First Steps
Welcome to this Python module! We're excited to have you on this coding journey. Don't worry if you're new to Python or coding. Let's begin by understanding what Python is.
Python is a high-level, interpreted programming language. High-level languages use abstract syntax that is easy for humans to understand but cannot be directly interpreted by machines.
Let's dive in and print our first message using Python. We'll use the print()
function for this. When you want to print specific text, just wrap it in quotation marks, like "..."
or '...'
. If you don't, Python will assume you're referring to a variable (but we'll get to that later).
To print a sentence, use the following code:
print("Some message")
Swipe to show code editor
Your challenge? Print "Hello world!"
in the console.
Once you've completed this task, click the button below the code to check your solution.
Thanks for your feedback!