MCQ Answer

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) एक चलने योग्य अनुक्रम उत्पन्न करेगा जैसे
Topic : Operators Expressions and Python Statements

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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz