हिंदी

Give an example of a loop that is to be executed a certain number of times. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Give an example of a loop that is to be executed a certain number of times.

एक पंक्ति में उत्तर

उत्तर

For i in range (10, 26, 5)

It will execute only 3 times.

shaalaa.com
Introduction to Flow of Control - Repetition
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: Introduction to Problem Solving - Exercise [पृष्ठ ८३]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 4 Introduction to Problem Solving
Exercise | Q 4. | पृष्ठ ८३

संबंधित प्रश्न

What is an infinite loop? 


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×