Slide 1Course A201: Introduction to Programming 09/30/2010 Slide 2 Outlines for this week How to write for loops – Function range() – Python membership operator: in –…