Skip to main content
Commonmark migration
Source Link

#Python, 61 bytes (way too many)

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(...)?

#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(...)?

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(...)?

syntax highlighting
Source Link

#Python, 61 bytes (way too many)

lambda x:"".join(map(lambda y:(y.lower()!=x[0].lower())*y,x))
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(...)?

#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(...)?

#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(...)?

removed f=
Source Link
cole
  • 4k
  • 1
  • 13
  • 26

#Python, 6361 bytes (way too many)

f=lambdalambda 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(...)?

#Python, 63 bytes (way too many)

f=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(...)?

#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(...)?

Source Link
cole
  • 4k
  • 1
  • 13
  • 26
Loading