Skip to content

Instantly share code, notes, and snippets.

@brake
Created January 30, 2016 18:59
Show Gist options
  • Select an option

  • Save brake/d921c268def7294e9a5d to your computer and use it in GitHub Desktop.

Select an option

Save brake/d921c268def7294e9a5d to your computer and use it in GitHub Desktop.
Create and print sequence of 5 random integers from 0 to (inclusive) 127
(doseq [n (repeatedly 5 #(rand-int 128))]
(printf "%02X (%d)\n" n n))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment