NIELIT O Level Exam

Function range(10, 5, 2) will yield an iterable sequence like

Function range(10, 5, 2) will yield an iterable sequence like

फंक्शन range(10, 5, 2) एक चलने योग्य अनुक्रम उत्पन्न करेगा जैसे

A. []

B. [10, 8, 6]

C. [2, 5, 8]

D. [8, 5, 2]




Correct Answer is :

A. []



Explanation

range(start,end,step) hear end value is greater than start and step is +2 so it represent an empty list and it iterate zero time.

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad