結果 : use range in if statement python