Range Python Function Declaration