結果 : float object cannot be interpreted as an integer for loop