how to use range function in python