結果 : how to use input validation in python