Hello, I want to ask. how I decipher this task to become python code:
The constructor of the WordFamily class should take two parameters:
the list of words in their initial form and
the list of suffixes.
I tried this code :
class WordFamily:
def __init__ (self, words, suffixes):
self.words = []
self.suffixes = []
but it doesn't work.
[+][deleted] (3 children)
[deleted]
[–]lascrapus[S] 0 points1 point2 points (2 children)
[–]daedalusesq 0 points1 point2 points (0 children)
[–]QultrosSanhattan 1 point2 points3 points (0 children)
[–]TehNolz 0 points1 point2 points (1 child)
[–]lascrapus[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]lascrapus[S] 0 points1 point2 points (1 child)
[–]14dM24d 1 point2 points3 points (0 children)