I am currently working on a small anagram program that takes all possible permutations of a word and compare them with a dictionary. However, I am unable to get the results to
Replace the newlines from the variable:
compare = compare.replace('\n', '')