Hi Guys,
Here is the simple example that I made to explain fundamental ways to use for and while loop. Python makes usage of loops extremely easy because it has no bracket system as such. Just take care of indentation and you are good to go. Bonus is indentation makes your program look nicer. Here we go :
Here is the simple example that I made to explain fundamental ways to use for and while loop. Python makes usage of loops extremely easy because it has no bracket system as such. Just take care of indentation and you are good to go. Bonus is indentation makes your program look nicer. Here we go :
Output :
No comments:
Post a Comment