結果 : how to put range in if statement python