r/learnpython • • 31m ago

Learning programming

I’m learning programming for college for a cybersecurity degree. I need to make my own program that works(in Python). I have my different options i .e. lists all laid out. I wrote a flowchart and pseudo (both required for the project) as I’m coding everything one of the lists is getting skipped entirely if the user enters yes instead of no. And if the user enters no it gives them the code of them dying but instead of stopping the loop entirely it reloops the code again and still skips one of the lists. I’m not quite sure the best way to fix this. The lists are all the same length, in brackets and spelled out properly. Any suggestions or help would be appreciated.

2 Upvotes

3 comments sorted by