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 'fruit' and assign it the value 'Mango'. What will be the output of print(fruit)?
π‘ Hint: Just use the variable name you assigned.
Question 2
Easy
Create an integer variable 'quantity' and a float variable 'price'. Assign them values and print them. What types do you expect?
π‘ Hint: Remember what you learned about data types.
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 result of type('Hello')?
π‘ Hint: Think about what type of data 'Hello' represents.
Question 2
True or False: Variables can start with a number.
π‘ Hint: Recall the rules we discussed about naming variables.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Design a small program that calculates the area of a rectangle. The user inputs the length and width as floats. Store them in variables. Convert them as necessary to perform calculations, and then print the area.
π‘ Hint: Remember to ask for input and convert to float before calculating.
Question 2
Create a variable to represent your age as a string, convert it to an int, and determine what year you were born in if the current year is 2023.
π‘ Hint: Think about how to extract the year from the current year minus your age.
Challenge and get performance evaluation