Re: [Tutor] problem with an anagram program

2009-03-09 Thread Alan Gauld
"jessica cruz" wrote 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. Where you define an anagram to be a word that is in

Re: [Tutor] problem with an anagram program

2009-03-09 Thread Andre Engels
Please next time, if possible, add the complete error message you get. In this case, it tells us that the error is in this line: if sig == wordList[i] You forgot the : at the end of this line (also, the next lines are not indented extra, as they should). On Mon, Mar 9, 2009 at 9:28

[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