# Dr. V # Sept 18, 2012 # Program to create a random 7 by 7 grid of letters # The object is to find a "four in a row" import random print "\n\n" for j in range(1,8): for k in range(1,8): move = random.randint(1,4) if move == 1: print "\tA", elif move == 2: print "\tB", elif move == 3: print "\tC", else: print "\tD", print "\n\n" print