We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57dd785 commit e636d1cCopy full SHA for e636d1c
cowsay/main.py
@@ -28,7 +28,7 @@ def wrap_lines(lines: list, max_width: int = 49) -> list:
28
line_width = 0
29
30
# Loop over the characters in the line.
31
- for i in range(len(line)):
+ for i, character in enumerate(line):
32
33
character = line[i]
34
0 commit comments