[Tutor] HELP ON A ANAGRAM PYTHON PROGRAM

2009-03-09 Thread jessica cruz
I made this program but it says that there is an error and I have a hard time trying to solve the problem with program. Here is the program: #this reads all of the words in the file into a list infile = open('/afs/cats/courses/cmps012a-cm/pa1/wordList.txt') wdcount = int(infile.readline()) #firs

[Tutor] problem with an anagram program

2009-03-09 Thread jessica cruz
I just started learning python an I'm currently working on this program. The purpose of this program is to read a string of letters from user input and print out all the words which are anagrams of the input string. This is what I have and when I try to run the program it says that there is an e