top of page
Search

while loops in python

  • Writer: Abhinaw Tripathi
    Abhinaw Tripathi
  • Dec 15, 2017
  • 1 min read

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") 


 
 
 

Recent Posts

See All

Comments


© 2016 by Abhinav Tripathi

  • Facebook Clean Grey
  • Twitter Clean Grey
bottom of page