Difficulty: beginner
Estimated Time: 10 minutes

This is intended to be a review of lesson 1; we'll be doing a quick review of the Python interpreter, variables, conditionals, and functions.

Well done!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

F5CA Python 002 Lesson 2 - Review

Step 1 of 4

Python interpreter

Task - Interpreter

Start up the python intepreter.

python3

Assign your name to a variable of type string:

my_name = 'Chris'

Print the variable you just created by using the print() function:

print(my_name)

Exit the python interpreter using the exit() function:

exit()