Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 27)
27.
What does the range function return when used with two arguments, start and stop?
A sequence from start to stop (exclusive)
A sequence from start to stop (inclusive)
A sequence of even numbers from start to stop
A reversed sequence from start to stop (inclusive)
Answer: Option
Explanation:
The range function with two arguments returns a sequence of numbers from start to stop (exclusive).
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.