Lesson 1
Getting Started

Pythong is a programming language that lets you give instructions to a computer. Compared to other languages, Python is easy to read and write yet very powerful. Python is used in:

  • Web development
  • Data science
  • Machine learning
  • Automation
  • Games and simulations
and much more!

Writing your first line of Python

In Python, we often start by printing text to the screen.

Python
print("Hello, world!")

This line of code tells the computer to display the text Hello, world! on the screen. It uses the print function, which is a built-in command in Python for outputting text. Inside the parentheses, we provide what we want to print, here enclosed in quotation marks to indicate it's a string.

Output
Hello, world!
Knowing this, what would the following line of code output?
print("Chicken nuggets")