In this lesson, we accomplished a lot of things! We instructed our computers to print messages, we stored these messages as variables, and we learned to update those messages depending on the part of the program we were in. We performed mathematical calculations and explored some of the mathematical expressions that Python offers us. We learned about errors and other valuable skills that will continue to serve us as we develop our programming skills.

Good job!

Here are a few more resources to add to your toolkit:

Make sure to bookmark these links so you have them at your disposal.



Create variables:

  • my_age
  • half_my_age
  • greeting
  • name
  • greeting_with_name

Assign values to each using your knowledge of division and concatenation!

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?