結果 : how to limit input range in python