Rodrigo Girão Serrão 🐍🚀@mathspp.com2 MarHow do you collapse runs of adjacent spaces in Python? That is, shorter runs of 2+ consecutive spaces so there's only 1 space there? I can't come up with a simple/straightforward way to do it with `str.join` and I'm surprised... What am I missing?41
Rodrigo Girão Serrão 🐍🚀@mathspp.comI meant “This is, shortEN runs of 2+ [...]”2/3/26, 2:39 pm·0 reposts·0 likes