Array From Range Python Function Declaration