Validating input in Python 3

Just the outcome of my experiments in validating input in Python 3. The first one is quite long, but the method can easily be used for e.g safe menus.

The second one is shorter, and uses Python’s error catching ability. But this method is not so good to be used in other situation other than number input; i.e any number and only numbers.

Kommentera gärna!