Python Script Looping Array Example