Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What command is used to create a variable in Python?
Think of how you would assign a name to someone.
What data type would you use to store your age?
How many whole years have you been alive?
What is the keyword used to create a variable in Python?
Remember, no keyword is needed!
Is 3.14 a float data type?
Think about how you would represent a number with decimal points.
Define a list with at least five different data types and write a function that prints each item alongside its type.
Consider how each data type can be represented.
Create a dictionary that maps three different data types to their values and print it. Then, retrieve and print one of the values.
Think about how to store data in pairs.
7 more questions in this section. Enroll free to practise them all.
Enroll free