Create Array With Range Python Function Example With Variables