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 the value 'Red'. What is the type of this variable?
π‘ Hint: Remember to check using `type()` function.
Question 2
Easy
Create an integer variable year
and assign it the value 2021.
π‘ Hint: Use a number without quotes.
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 syntax to create a variable in Python?
π‘ Hint: Think about the direction of the assignment.
Question 2
True or False: A variable name can start with a number.
π‘ Hint: Recall the naming rules we discussed.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Write a Python program that accepts user input for their name and age, and then uses string interpolation to print out a greeting that includes both.
π‘ Hint: Use proper variable assignment and print formatting.
Question 2
Create a program that takes a numeric string input, converts it to an int, adds 10, and prints the result.
π‘ Hint: Remember to first convert the string and then perform the addition.
Challenge and get performance evaluation