Ivan Habunek
Follow

Current status: oneliners

pprint(list(chain(*[wrap(line, width) for line in paragraph])))

😓

· Web · 0 · 1

And next level is:

return [[list(chain(*[wrap(line, width) for line in p]))] for p in paragraphs]

0
0

@ihabunek This code is p good my dawg, but ur missing an important part. U gotta get that integer variable up in this bitch. Add like 4 "%¤" and ur good.

0
0
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!