Skip to content

Commit

Permalink
working pangram
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Shamshurin committed Dec 25, 2024
1 parent fee87e0 commit 0564097
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions otus-02/src/otus_02/homework/pangram.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
(ns otus-02.homework.pangram
(:require [clojure.string :as string]))
(:require [otus-02.homework.palindrome :as pal]))

(def alphabet-count 26)

(defn is-pangram [test-string])
(defn is-pangram [test-string]
(-> test-string
(pal/transform-string)
(set)
(count)
(== alphabet-count)))

(comment
(is-pangram "The quick brown fox jumps over the lazy dog")
)

0 comments on commit 0564097

Please sign in to comment.