Skip to content

Instantly share code, notes, and snippets.

@chase-lambert
Last active May 17, 2023 00:42
rendezvous with cassidoo challenge: 22.10.30
(ns print-ascii)
(defn print-ascii []
(doseq [i (range 0x20 0x7F)]
(print (char i))))
;; If you want to print in sections exactly as shown in the prompt
(defn print-ascii-sections []
(doseq [section (partition-all 16 (range 0x20 0x7F))]
(println (apply str (map char section)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment