#!/usr/bin/python # Print the required header that tells the browser how to render the text. print "Content-Type: text/plain\n" # List of integers. numbers = [0, 1, 2] # Print iterations using numbers. for count in numbers: print "iteration", count # Print iterations using range(3). for count in range(3): print "iteration", count