結果 : how to set a max value for a variable in python