Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβperfect for learners of all ages.
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.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
Declare a variable color
and assign it a favorite color.
π‘ Hint: Use the format variable_name = value.
Question 2
Easy
What type of data does age = 30
hold?
π‘ Hint: Think about whether it's whole or decimal.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What is the purpose of the type()
function?
π‘ Hint: Think about what you would want to check about a variable.
Question 2
True or False: Variable names can start with a number.
π‘ Hint: Recall the naming rules for variables.
Solve and get performance evaluation
Push your limits with challenges.
Question 1
You have data collected from a survey where ages are accidentally stored as strings. Write a function that takes a list of ages as strings and returns a new list with the ages converted to integers.
π‘ Hint: Consider using list comprehension for efficient conversion.
Question 2
Create a Python program that takes input for two users' names and favorite numbers. Swap the values, then print out the new values along with their types.
π‘ Hint: Donβt forget to capture inputs as strings and then convert them as necessary.
Challenge and get performance evaluation