top | item 34756695

(no title)

bshimmin | 3 years ago

There's a "b" in "about", but there's no "k" or "m".

discuss

order

tsm|3 years ago

No 'm' either:

    (def phrase "Fjord zoologists quip jovially, waxing lyrical about xanthic lutrines")
    (require '[clojure.string :as str])
    (-> phrase str/lower-case distinct sort)
    ;; => (\space \, \a \b \c \d \e \f \g \h \i \j \l \n \o \p \q \r \s \t \u \v \w \x \y \z)
(edit: OP originally just mentioned 'k' but then ninja-edited in the 'm')

teddyh|3 years ago

Python:

  >>> phrase = "Fjord zoologists quip jovially, waxing lyrical about xanthic lutrines"
  >>> import string
  >>> set(string.ascii_lowercase) - set(phrase.lower())
  {'k', 'm'}

bshimmin|3 years ago

You are right, I did - sorry. I wrote something similar in Ruby to check!

bilsbie|3 years ago

It was the best of times, it was the BLURST of times! You stupid monkey!"