range function for float in python