Create Array With Range Python Function Vs Method