running out of time!

workspace
km0 3 years ago
parent 78bd042780
commit 0e23a17f44

@ -122,7 +122,7 @@ class Soup(Bureau):
repeated_pattern = (self.pattern * (length // len(self.pattern)))
# + self.pattern[:(length % len(self.pattern))]
try:
for choice in repeated_pattern:
if choice == 'A':
result += list_a[text_a_cursor]
@ -130,6 +130,9 @@ class Soup(Bureau):
if choice == 'B':
result += list_b[text_b_cursor]
text_b_cursor += 1
except Exception:
pass
self.print_small(result)

Loading…
Cancel
Save