Learn
Learn Python: Syntax
Review

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!

Instructions

1.

Create variables:

  • my_age
  • half_my_age
  • greeting
  • name
  • greeting_with_name

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

Folder Icon

Sign up to start coding

Already have an account?