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 19e7d0e commit cc180bfCopy full SHA for cc180bf
pythonanywhere/snakesay.py
@@ -24,10 +24,10 @@ def speech_bubble_lines(speech):
24
25
else:
26
yield ' ' + '_' * width
27
- yield '/ {} \\'.format(lines[0])
28
- for line in lines[1:-1]:
+ yield '/ ' + (' ' * width) + ' \\'
+ for line in lines:
29
yield '| {} |'.format(line)
30
- yield r'\ {} /'.format(lines[-1])
+ yield '\\ ' + (' ' * width) + ' /'
31
yield ' ' + '-' * width
32
33
0 commit comments