Skip to main content
4 of 4
Commonmark migration

Python, 61 bytes (way too many)

lambda x:"".join(map(lambda y:(y.lower()!=x[0].lower())*y,x))

I imagine there is a better way to go about doing this, but I can't seem to find it. Any ideas on removing the "".join(...)?

cole
  • 4k
  • 1
  • 13
  • 26