# Create two lists x and y containing some numbers x = [3, 2, 1, 0] y = [7, 6, 5, 4] # Now ask yourself how to read the value of x and y? # print them out one at a time! print 'x[0] is', x[0] print 'x[1] is', x[1] print 'x[2] is', x[2] print 'x[3] is', x[3] print 'y[0] is', y[0] print 'y[1] is', y[1] print 'y[2] is', y[2] print 'y[3] is', y[3]

# Create two lists x and y containing some numbers x = [3, 2, 1, 0] for value in x: print value # remember indentation (4 space in or a tab in)

x = [3, 2, 1, 0] for <any_var_name> in <da_list>: print <any_var_name> # remember indentation (4 space in or a tab in)

any_var_name can be anything like i, my_value, crazy_john, or even cat if you are dealing with a list of cat.

x = [3, 2, 1, 0] for <any_var_name> in <da_list>: print <any_var_name> # remember indentation (4 space in or a tab in)

for happy in [3, 2, 1, 0]: print happy # remember indentation (4 space in or a tab in)

for3.py asks you to use for-loop to compute the individual sum of x[i] + y[i] where i is the index from 0 to n-1 (both lists are of the same size, n = 4)