Create Array With Range Python Function Example With A Loop