8.1 - Revision of Python Basics
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
What are the three types of primary number data types in Python?
💡 Hint: Think about whole numbers, decimal numbers, and numbers with imaginary parts.
What does a list contain?
💡 Hint: Consider how you can add or remove items from a list.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is a valid data type in Python?
💡 Hint: Think about what kinds of data types you've learned about.
True or False: Lists in Python are immutable.
💡 Hint: Consider if you can change the contents of a list.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Create a function that accepts a list of numbers and returns True if any number is greater than 10, else False.
💡 Hint: Think about how you can iterate through each number in the list.
Build a dictionary that counts occurrences of each character in a string. For example, in 'hello', the count should be {'h': 1, 'e': 1, 'l': 2, 'o': 1}.
💡 Hint: Consider how you can use a dictionary to store counts as you loop through the string.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.