bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/Python/Foundations Practice
Python•Foundations Practice

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?

Test your Python Variables skills with exercises from all categories:

/5 done

Variables

3 exercises

Open

Done

Variable Names

3 exercises

Open

Done

Multiple Variable Values

3 exercises

Open

Done

Output Variable

3 exercises

Open

Done

Global Variable

3 exercises

Open

Done

If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete. As a logged-in W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more.

The Exercise

The exercises are a mix of "multiple choice" and "fill in the blanks" questions. There are between 3 and 9 questions in each category. The answer can be found in the corresponding tutorial chapter. If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer. Find a complete collection of Python Exercises for each chapter in this tutorial in our Python Exercises page.

Previous

Python - Global Variables

Next

Python Variables Code Challenge