Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the definition of a float?
Think about numbers that are not whole.
Provide an example of a boolean.
Consider what type of values indicate logic.
What data type is used to represent true or false?
Recall that there are only two possible values: true and false.
Which of the following is a mutable data type?
Think about which data structures allow modifications post-creation.
How can you create a list of numbers from 1 to 10 and then change the number at index 4 to 20?
Recall how to define a list and access elements using their index.
You have a tuple of the coordinates (50, 60). How would you access the x-coordinate and what would you do if you wanted it to be mutable?
Consider how indexing works with tuples and the way to convert them.
5 more questions in this section. Enroll free to practise them all.
Enroll free