हिंदी

How many times are the following loop executed? for a in range(100,10,-10): print a

Advertisements
Advertisements

प्रश्न

How many times are the following loop executed?

for a in range(100,10,-10):
     print a
अति संक्षिप्त उत्तर
Advertisements

उत्तर

Values: 100, 90, 80, 70, 60, 50, 40, 30, 20

9 times

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Review of Phython - EXERCISE [पृष्ठ २५]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 1 Review of Phython
EXERCISE | Q 4. a) | पृष्ठ २५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×