Python Forum
Having two inputs to escape a while loop.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having two inputs to escape a while loop.
#4
Kotter's solution works as long as it is also acceptable to respond to yEs, which was not exactly the assignment as laid out. Try using Yoriz's suggestion.
Since your initial attempt used a list I am assuming that the instructor was using this to teach a bit about lists, in which case this works. If instead you were to learn about string case, Kotter's works.
Reply


Messages In This Thread
RE: Having two inputs to escape a while loop. - by jefsummers - Jun-10-2019, 07:56 PM

Forum Jump:

User Panel Messages

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