The way i see it is while loops work like if statements but in a loop. Lets just think about it, if statements need a condition to run the code in its scope, a while loop only runs the code in its scope if the condition is true, in this case i did a while True, this would technically run for forever and not stop but i put a break in which stops as soon as reaches this point, in the next loop i added a condition which, but in the scope i am removing 1 from x, which eventually then will make the condition false which then stops the while loop cause the condition is false.
1
4 reads
MORE IDEAS ON THIS
CURATED FROM
Keep reading, keep studying, the more you learn the more you change. If you are doing the Python lessons please join this discord channel https://discord.gg/kugXx9KY but please follow the rules
this will explain a little about while loops
“
More like this
As you can see in the image, we are working with conditional if statements. This is used to find out if something is True or False. As you can see i used '
The first thing we need to consider when starting to learn a programming language, is what shall we use. There are a few things we can use, for example python IDLE, pycharm, VS code, notepad++, anaconda or Google Colab.
For these lessons I would recommend pycharm. But first we need to insta...
If 'entitled to have your opinion' means everyone has the right to say what they want, the statement is true, but not necessarily important.
If 'entitled to have your opinion' means your statements are serious candidates for truth, then it's false. And this too is a distinction that tends t...
Explore the World’s
Best Ideas
Save ideas for later reading, for personalized stashes, or for remembering it later.
Start
31 ideas
Start
44 ideas
# Personal Growth
Take Your Ideas
Anywhere
Just press play and we take care of the words.
No Internet access? No problem. Within the mobile app, all your ideas are available, even when offline.
Ideas for your next work project? Quotes that inspire you? Put them in the right place so you never lose them.
Start
47 ideas
Start
75 ideas
My Stashes
Join
2 Million Stashers
4.8
5,740 Reviews
App Store
4.7
72,690 Reviews
Google Play
Shankul Varada
Best app ever! You heard it right. This app has helped me get back on my quest to get things done while equipping myself with knowledge everyday.
“
Sean Green
Great interesting short snippets of informative articles. Highly recommended to anyone who loves information and lacks patience.
“
samz905
Don’t look further if you love learning new things. A refreshing concept that provides quick ideas for busy thought leaders.
“
Ashley Anthony
This app is LOADED with RELEVANT, HELPFUL, AND EDUCATIONAL material. It is creatively intellectual, yet minimal enough to not overstimulate and create a learning block. I am exceptionally impressed with this app!
“
Giovanna Scalzone
Brilliant. It feels fresh and encouraging. So many interesting pieces of information that are just enough to absorb and apply. So happy I found this.
“
Laetitia Berton
I have only been using it for a few days now, but I have found answers to questions I had never consciously formulated, or to problems I face everyday at work or at home. I wish I had found this earlier, highly recommended!
“
Ghazala Begum
Even five minutes a day will improve your thinking. I've come across new ideas and learnt to improve existing ways to become more motivated, confident and happier.
“
Jamyson Haug
Great for quick bits of information and interesting ideas around whatever topics you are interested in. Visually, it looks great as well.
“
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving & library
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Personalized recommendations
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates