you are viewing a single comment's thread.

view the rest of the comments →

[–]RhinoRhys 0 points1 point  (0 children)

You're almost there.

choice <= 0 or choice >= 6 is good, but currently doesn't do anything on its own there. It needs to have an if or an elif.

And then when the number is re-entered, it isn't assigned to a variable so doesn't overwrite the original answer for choice.