Skip to content

Commit

Permalink
feat: Add command output
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
  • Loading branch information
jdbaldry committed Sep 9, 2021
1 parent 6beb1aa commit ca86449
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deck-of-cards.scm
@@ -1,6 +1,10 @@
;; nix-shell -p mitscheme --run "scheme --quiet < deck-of-cards.scm"
;; From https://www.theguardian.com/science/2021/jun/14/did-you-solve-it-ace-of-spades
;; Unintuitively, they are all the same likelihood
;; $ nix-shell -p mitscheme --run "scheme --quiet < deck-of-cards.scm"
;; red: 1/26
;; clubs: 1/26
;; face: 1/26
;; random guess: 1/26

(display "red: ")
(display (+
Expand Down

0 comments on commit ca86449

Please sign in to comment.