Python - Variable Exercises


Test Yourself With Exercises

Now you have learned a lot about variables, and how to use them in Python.

Are you ready for a test?

Try to insert the missing part to make the code work as expected:

Exercise:

Create a variable named carname and assign the value Volvo to it.

 = ""

Go to the Exercise section and test all of our Python Variable Exercises:

Python Variable Exercises


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.