Author | Message |
---|---|
knagrec2
Posts: 51
|
Posted 09:35 Feb 24, 2019 |
So I have basically finished up my code, but I was not sure about something in the nonrecursive loop function that takes out the words. When I look at this, it seems as though the words it returns (having been cut out by the str.split method) do not necessarily use all the letters in the input. For example, if I put in cierea mc, I would get ice cream, and it would return ice and cream as two separate items, and neither of them use all the characters of the original. Are they still anagrams?
Edit: never mind I read the filter wrong, not sure how to delete post. Last edited by knagrec2 at
09:44 Feb 24, 2019.
|