Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
Define a variable to hold the name of your favorite movie.
Remember to use quotes for string values.
What data type is age = 25?
Think if the number can be a whole number.
What is the correct way to declare a variable in Python?
Think about the structure of variable assignments.
True or False: A list is immutable.
Recall the properties of lists and tuples.
Create a Python code snippet that initializes a variable for your height as a float, a variable for your is_graduate status as a boolean, and a list of your friends' names.
Remember to use the correct data type formats!
Explain why lists are often preferred over tuples when organizing data that may change.
Consider the flexibility of the data structure.
6 more questions in this section. Enroll free to practise them all.
Enroll free