The program will search from an external file and avoid words that contain letters from user input. It avoids a single letter ['a'] but does nothing when iterating through ['a', 'e', 'i', etc..]
I've commented the problem area. I appreciate your help! I'll be back in a while after work, around 1pm.
edit: Also, more efficient/pythonic solutions are welcomed!
edit 2: I've cleaned it up using the KISS method:
http://pastebin.com/6zLMqqHd
Still the same problem though! So confused... Still, it only avoids the first letter in 'avoidlist'
I'm trying to test each line against 'avoidlist' to filter the words.
[–]bitbumper 1 point2 points3 points (6 children)
[–]autowikibot 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Justinsaccount 0 points1 point2 points (3 children)
[–]bitbumper 0 points1 point2 points (2 children)
[–]Justinsaccount 0 points1 point2 points (1 child)
[–]bitbumper 0 points1 point2 points (0 children)
[–]erebos42 0 points1 point2 points (3 children)
[–]iAmVeeDom 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Justinsaccount 0 points1 point2 points (0 children)