I would like to know how to restrict the user input an integer
rather than a string?

Thanks!