So I have this simple menu in python:
1 - x
2 - y
3 - z
what you gonna do?
I want to ask user to press a number to choose the option but I can't figure it out, instead of making user write the option and pressing enter, I want the user to press number and do the option! How can I achieve this?