Python Forum
It worked now it doesnt...ugh
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
It worked now it doesnt...ugh
#13
I fixed the indentation and now get stuck in option 1 as option is not altered inside of the while loop.
Output:
1: Add a Question 2: Delete a Question 3: List all FAQ 4: Exit Please enter your selection: 1 Enter a question to be added: this The answer to the question is: that Your FAQ has been added. Enter a question to be added:
But it if i enter the same question
Output:
Enter a question to be added: this The answer to the question is: that FAQ already exists Your FAQ has been added. Enter a question to be added:
it does report "Your FAQ has been added." after answer has been added, as the if statement is after both the question and answer input.
Reply


Messages In This Thread
It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 03:44 PM
RE: It worked now it doesnt...ugh - by ichabod801 - Aug-07-2019, 05:15 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 05:26 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 06:35 PM
RE: It worked now it doesnt...ugh - by ichabod801 - Aug-07-2019, 06:43 PM
RE: It worked now it doesnt...ugh - by Yoriz - Aug-07-2019, 06:43 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 07:06 PM
RE: It worked now it doesnt...ugh - by ndc85430 - Aug-07-2019, 07:04 PM
RE: It worked now it doesnt...ugh - by Yoriz - Aug-07-2019, 07:10 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 07:20 PM
RE: It worked now it doesnt...ugh - by Yoriz - Aug-07-2019, 07:25 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 07:29 PM
RE: It worked now it doesnt...ugh - by Yoriz - Aug-07-2019, 07:34 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 07:37 PM
RE: It worked now it doesnt...ugh - by Yoriz - Aug-07-2019, 07:41 PM
RE: It worked now it doesnt...ugh - by raymond2688 - Aug-07-2019, 07:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  im not sure what ive done wrong code doesnt run dgizzly 3 1,463 Nov-16-2022, 03:02 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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