Today's tip: From Hello, World to hired.

Courses / Python for Absolute Beginners / Lesson 1

1. Your first program

Every programmer starts here. In this lesson you write a complete program, run it, and change it until it does what you want.

Your first programpython
name = input("What is your name? ")
print(f"Hello, {name}! Welcome to Python.")

Your turn

Change the program so it greets you by name, then run it in the playground. The checks turn green when the output matches.

Open the playground Next lesson →