Lesson 03: Your First Program: Print, and Running Code

The lesson’s first program: print a message, then print an arithmetic result. Change the message and run it again.

Loading Python… this can take a few seconds the first time. Please wait — the Run button will become available when Python is ready.

Try this: Change the message to your own greeting and press Run again — the first output line changes, and 5 stays the same.

The code that runs



Output

Press Run to see the output here.