top of page
Search

while loops in python

Writer's picture: Abhinaw TripathiAbhinaw Tripathi

So while loop is theoretically same like other programming language.take an example in Python. x =0 while x < 10: print("Count is {0}".format(x)) x+=1 Infinite Loops num =10 while True: if num == 42: break print("Hello World") 


5 views0 comments

Recent Posts

See All

© 2016 by Abhinav Tripathi

  • Facebook Clean Grey
  • Twitter Clean Grey
bottom of page