Skip to content

Commit

Permalink
Create ggolfz.rkt (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
GGolfz authored Oct 1, 2022
1 parent 27c659d commit 0724fcb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Racket/ggolfz.rkt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(define welcome-text "Welcome to coffee2code")
(println welcome-text)
(define (coffee2code str)
(if (string-ci=? str "coffee") "code" "Nah, it is not a coffee!")
)

(println (coffee2code "coffee"))

0 comments on commit 0724fcb

Please sign in to comment.