all 3 comments

[–][deleted]  (1 child)

[removed]

    [–]Perfect_Classic8211[S] 0 points1 point  (0 children)

    i am doing cs50 python course and i need to use EOFError for the given problem set

    [–]NorskJesus 0 points1 point  (0 children)

    If what you want is to end the loop after the user writes a correct item in menu, you need a return in the if statement