हिंदी

Rewrite the following for loop into while loop. for a in range(90,9,-9): print a

Advertisements
Advertisements

प्रश्न

Rewrite the following for loop into while loop.

for a in range(90,9,-9):
    print a
कोड लेखन
Advertisements

उत्तर

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×