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(5)
produce?
π‘ Hint: Remember it counts from 0 to one less than the upper limit.
Question 2
Easy
Using range(2, 10, 2)
, what sequence will you get?
π‘ Hint: Count by twos starting from 2.
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 does range(1, 5)
produce?
π‘ Hint: It starts from 1 and goes to one less than 5.
Question 2
In Python 3, range()
returns what type?
π‘ Hint: Remember the distinction between `range` and lists.
Solve 1 more question and get performance evaluation
Push your limits with challenges.
Question 1
Create a function that generates a countdown list starting from a given number down to zero.
π‘ Hint: Consider how to approach counting down and what bounds to set.
Question 2
Using range()
, generate a list of all even numbers between two given numbers, inclusive.
π‘ Hint: Make sure to start from an even number.
Challenge and get performance evaluation