We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58ecf6 commit 7cd136bCopy full SHA for 7cd136b
14-it-generator/sentence.py
@@ -17,7 +17,7 @@ def __init__(self, text):
17
def __getitem__(self, index):
18
return self.words[index] # <2>
19
20
- def __len__(self, index): # <3>
+ def __len__(self): # <3>
21
return len(self.words)
22
23
def __repr__(self):
0 commit comments