Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
while loop question
#3
To clarify why the while loops are failing: You get out of the first while loop when the sign changes. You have no way to get back to it when the sign changes back.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
while loop question - by Tripler - Jul-24-2018, 05:44 AM
RE: while loop question - by ichabod801 - Jul-24-2018, 05:51 AM
RE: while loop question - by ichabod801 - Jul-24-2018, 05:53 AM
RE: while loop question - by Tripler - Jul-24-2018, 06:17 AM
RE: while loop question - by buran - Jul-24-2018, 06:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Many iterations for loop question adesimone 9 1,938 Nov-12-2022, 07:08 PM
Last Post: deanhystad
  Please check whether the code about the for loop question is correct. (SyntaxError) lilliancsk01 10 2,726 Nov-08-2022, 01:25 PM
Last Post: deanhystad
  Beginner Python Question: FIzz Buzz using while loop camoyn13 2 1,873 Sep-20-2022, 09:00 AM
Last Post: deanhystad
  Repeat question (for loop) rs74 7 6,574 Jun-17-2020, 03:17 PM
Last Post: rs74
  Question about running comparisons through loop from input value Sunioj 2 2,453 Oct-15-2019, 03:15 PM
Last Post: jefsummers
  Loop question kraven 3 3,714 Sep-10-2017, 07:31 AM
Last Post: wavic
  Question about loop Pires 4 3,628 Jul-23-2017, 03:01 AM
Last Post: Pires
  Udacity while loop question liquidmetalrob 6 5,432 Jul-21-2017, 02:56 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020