while loop in python
while loop in python
# while loop :
"""
while(i<45):
print(i)
i = i + 2
while(i<200):
i = i + 1
print(i)
"""
i=0
while(True):
if i+1<5:
i=i+1
continue
print(i+1,end=" ")
if(i==44):
i = i + 1
break
# while loop :
"""
while(i<45):
print(i)
i = i + 2
while(i<200):
i = i + 1
print(i)
"""
i=0
while(True):
if i+1<5:
i=i+1
continue
print(i+1,end=" ")
if(i==44):
i = i + 1
break
Comments
Post a Comment