3 - Python Basics for Data Science
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 is a variable in Python?
💡 Hint: Think of it as a container for data.
Provide an example of a boolean in Python.
💡 Hint: Remember, booleans can only be True or False.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the data type of the variable: height = 5.7?
💡 Hint: Think about the value of 5.7.
True or False: A list can store different types of data.
💡 Hint: Consider what you've learned about lists.
3 more questions available
Challenge Problems
Push your limits with advanced challenges
Write a Python function that takes a list of numbers and returns a new list containing only the even numbers from the original list.
💡 Hint: Use list comprehension to create the new list.
Create a looping structure that prints the squares of all integers from 1 to 10.
💡 Hint: Think about how to multiply each number by itself.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.