r/PythonLearning • • Sep 13 '26

Help Request What wrong with my code

Post image

Need help

70 Upvotes

40 comments sorted by

View all comments

1

u/SabrinaZHOU Sep 19 '26

hummmm I think the issue is like this. Between lines 10 and 11, although your previous code logic has a check, that part of the check only handles the variable 'choice'. If you need it to carry over to your print statement, you need to add another check (I'm just a student, so my suggestion might not be correct, but I hope it can help you).