Create Array Range Python Function Call