結果 : how to write a range function in python