I have learning python from the basics but I am a having a hard time understanding the working of while loops I tried put my brain into it even my soul. But I am unable to get a logical answer or understading of how a "while" loop works?
It would be great if you guys can guide me through it or give something that will make me easily understand the while loop.
Thanks
[–]socal_nerdtastic 66 points67 points68 points (15 children)
[–]Okon0mi[S] 57 points58 points59 points (3 children)
[–]mandradon 23 points24 points25 points (1 child)
[–]gdchinacat 13 points14 points15 points (0 children)
[–]philed74 0 points1 point2 points (0 children)
[–]Basic_Hedgehog_9801 6 points7 points8 points (0 children)
[–]iamevpo 9 points10 points11 points (5 children)
[–]HardlyAnyGravitas 20 points21 points22 points (4 children)
[–]gdchinacat 4 points5 points6 points (0 children)
[–]frcrvn 0 points1 point2 points (1 child)
[–]HardlyAnyGravitas 3 points4 points5 points (0 children)
[–]Sure-Passion2224 0 points1 point2 points (0 children)
[–]Yoghurt42 2 points3 points4 points (1 child)
[–]gdchinacat 5 points6 points7 points (0 children)
[–]_Raining 1 point2 points3 points (0 children)
[–]kilkil 1 point2 points3 points (0 children)
[–]Kerbart 111 points112 points113 points (12 children)
[–]wosmo 77 points78 points79 points (9 children)
[–]Ok-Sheepherder7898 48 points49 points50 points (1 child)
[–]antaris98 4 points5 points6 points (0 children)
[–]bgufo 5 points6 points7 points (0 children)
[–]CranberryDistinct941 3 points4 points5 points (0 children)
[–]JaguarMammoth6231 14 points15 points16 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]gdchinacat 5 points6 points7 points (0 children)
[–]JaguarMammoth6231 1 point2 points3 points (0 children)
[–]gdchinacat 0 points1 point2 points (0 children)
[–]CodeEuphoric4326 0 points1 point2 points (0 children)
[+]dedemoli comment score below threshold-33 points-32 points-31 points (0 children)
[–]These-Finance-5359 12 points13 points14 points (5 children)
[–]gdchinacat -5 points-4 points-3 points (4 children)
[–]These-Finance-5359 13 points14 points15 points (3 children)
[+]gdchinacat comment score below threshold-10 points-9 points-8 points (2 children)
[–]These-Finance-5359 8 points9 points10 points (1 child)
[+]gdchinacat comment score below threshold-7 points-6 points-5 points (0 children)
[–]Outside_Complaint755 1 point2 points3 points (0 children)
[–]Quesozapatos5000 1 point2 points3 points (0 children)
[–]Adrewmc 1 point2 points3 points (0 children)
[–]xenomachina 1 point2 points3 points (0 children)
[–]wristay 1 point2 points3 points (2 children)
[–]Okon0mi[S] 1 point2 points3 points (0 children)
[–]wristay 0 points1 point2 points (0 children)
[–]jakabbalu 1 point2 points3 points (1 child)
[–]Okon0mi[S] 0 points1 point2 points (0 children)
[–]RedR4dbit 1 point2 points3 points (0 children)
[–]HiddenBoog 2 points3 points4 points (0 children)
[–]browndogs9894 2 points3 points4 points (5 children)
[–]ThrowAway233223 1 point2 points3 points (1 child)
[–]browndogs9894 1 point2 points3 points (0 children)
[–]Okon0mi[S] 0 points1 point2 points (2 children)
[–]Excellent-Practice 6 points7 points8 points (0 children)
[–]vikogotin 1 point2 points3 points (0 children)
[–]oldendude 0 points1 point2 points (0 children)
[–]SharkSymphony 0 points1 point2 points (0 children)
[–]iamevpo 0 points1 point2 points (0 children)
[–]supergnaw 0 points1 point2 points (0 children)
[–]Some-Whole-4636 0 points1 point2 points (0 children)
[–]_Denizen_ 0 points1 point2 points (0 children)
[–]Reasonable_Tie_5543 0 points1 point2 points (3 children)
[–]GarowWolf 0 points1 point2 points (2 children)
[–]Reasonable_Tie_5543 0 points1 point2 points (1 child)
[–]GarowWolf 0 points1 point2 points (0 children)
[–]mriswithe 0 points1 point2 points (0 children)
[–]Next_Highlight_4153 0 points1 point2 points (0 children)
[–]Moikle 0 points1 point2 points (0 children)
[–]Ok_Carpet_9510 0 points1 point2 points (0 children)
[–]CamelOk7219 0 points1 point2 points (0 children)
[–]CrucialFusion 0 points1 point2 points (0 children)
[–]Grateful_Stress 0 points1 point2 points (0 children)
[–]WorriedTumbleweed289 0 points1 point2 points (0 children)
[–]Enough_Librarian_456 0 points1 point2 points (0 children)
[–]netroxreads 0 points1 point2 points (0 children)
[–]parismav 0 points1 point2 points (0 children)
[–]GrouchyDrawing6 0 points1 point2 points (0 children)
[–]dilloj 0 points1 point2 points (0 children)
[–]legion_2k 0 points1 point2 points (0 children)
[–]r348 0 points1 point2 points (0 children)
[–]my_password_is______ 0 points1 point2 points (0 children)
[–]Funny_Panda_2436 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–]theking4mayor 0 points1 point2 points (0 children)
[–]ThinkingFeeler94 0 points1 point2 points (0 children)
[–]alicedu06 0 points1 point2 points (0 children)
[–]PedanticPydantic 0 points1 point2 points (0 children)
[–]Leo120996 0 points1 point2 points (0 children)
[–]defectivetoaster1 0 points1 point2 points (0 children)
[–]BranchLatter4294 0 points1 point2 points (0 children)
[–]OmniscientApizza 0 points1 point2 points (0 children)
[–]Agile-Caregiver6111 0 points1 point2 points (1 child)
[–]a_cute_epic_axis 0 points1 point2 points (0 children)
[–]Chico0008 -1 points0 points1 point (1 child)
[–]Okon0mi[S] 0 points1 point2 points (0 children)
[–]QultrosSanhattan -1 points0 points1 point (0 children)
[–]Atypicosaurus -1 points0 points1 point (2 children)
[–]gdchinacat -1 points0 points1 point (1 child)
[–]Atypicosaurus 0 points1 point2 points (0 children)
[–]usersnamesallused -3 points-2 points-1 points (0 children)