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.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
What does range(3)
produce?
π‘ Hint: Think about starting from 0 up to but not including 3.
Question 2
Easy
What is the output of range(1, 5)
?
π‘ Hint: Start at 1 and stop before 5.
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 will range(1, 10, 2)
return?
π‘ Hint: Check how many steps each number increases.
Question 2
True or False: range(4)
includes the number 4.
π‘ Hint: Remember if the end number is included in the range.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Create a program that uses range to print the first 10 square numbers.
π‘ Hint: Use range to define how many times to loop.
Question 2
Write a script that generates a list of even numbers from 0 to 100 using the range function.
π‘ Hint: Think about the correct start, stop, and step sizes.
Challenge and get performance evaluation