YUNOVA · Python programming · Module 4: Loops
Python me range() function
Python me range() function
Key points
- range(5) से 0 से 4 तक के number मिलते हैं; 5 शामिल नहीं होता।
- दो number देने पर वे शुरू और अंत तय करते हैं, तीसरा छलांग।
- range अक्सर for loop के साथ आता है जब गिनती करनी हो।