Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
List three valid variable names.
Start with letters or underscores.
Is 'my-variable' a valid variable name?
Check for allowed characters.
What is a valid variable name?
Look for names that start with a letter or underscore.
Is 'for' a valid variable name?
Consider reserved terms in Python.
Create a variable name following all rules that stored your favorite dish.
Check for the starting character.
List three invalid variable names and explain why they are invalid.
Look for common naming mistakes.
5 more questions in this section. Enroll free to practise them all.
Enroll free