Getting Comfortable with Python
Swipe to show menu
Definition
Python is a high-level programming language with human-readable syntax that computers translate into machine instructions.
Programming means giving instructions to a computer to perform tasks. Python is popular for its simplicity and versatility.
Let's get started by printing your first message in Python! To do this, use the print() function. When printing specific text, wrap it in quotation marks, either "..." or '...'.
1print("Some message")
Task
Swipe to start coding
Print "Hello world!" in the console using the print statement.
- Use the
printstatement. - Print
"Hello world!"in the console.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 1
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat