Skip to content

Commit a3db570

Browse files
Update anagrams.py
1 parent 70ee140 commit a3db570

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

strings/anagrams.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ def signature(word: str) -> str:
2424

2525
def anagram(my_word: str) -> list[str]:
2626
"""
27-
An anagram is a word or phrase formed by rearranging the letters of
28-
a different word or phrase, typically using all the original letters
29-
exactly once.
27+
An anagram is a word or phrase formed by rearranging the letters of a
28+
different word or phrase, typically using all the original letters exactly
29+
once.
3030
31-
Return every anagram of the given word from the dictionary.
31+
Return every anagram of the given word from the dictionary.
3232
>>> anagram('test')
3333
['sett', 'stet', 'test']
3434
>>> anagram('this is a test')

0 commit comments

Comments
 (0)