Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Split is a city, not your toy! solution in Creative category for First Word (simplified) by smilicic
from functools import partial
from itertools import takewhile
def first_word(text):
for fn in [str.encode,
partial(takewhile, lambda x: x ^ 0x20),
bytes,
bytes.decode,
partial(str.join, "")]:
text = fn(text)
return text
Nov. 15, 2020