मराठी

Rewrite the following for loop into while loop. for a in range(25,500,25): print a

Advertisements
Advertisements

प्रश्न

Rewrite the following for loop into while loop.

for a in range(25,500,25):
    print a
कोड लेखन
Advertisements

उत्तर

a = 25
while a < 500:
    print(a)
    a += 25
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1: Review of Phython - EXERCISE [पृष्ठ २५]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×