How To write While Loop in python?.

i=0
while(i<10):
print(i)
i=i+1
print("end")

Leave a Reply

Your email address will not be published. Required fields are marked *