I have the following code I\'ve been working on, but I can\'t seem to find a way to count the number of unique values in the anagram list. If I just print out: print l
print l
Use a set. sets hold only unique values:
set
print len(set(anagram))