> program for tic tac toe. It works BUT, a simple loop > would shorten this code considerably. Is there a way > to tell the program to go to the line: > > n = input("which sqaure") Yes. You sound like someone who has programmed in BASIC at sometime? If so you might find my online tutor which compares Python and BASIC useful: http://www.freenetpages.co.uk/hp/alan.gauld/ It has specific topics on loops etc. Alan G