Thomas A. Christensen II
2578872831
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
42 lines
700 B
Julia
42 lines
700 B
Julia
##
|
|
## A cowering cow
|
|
##
|
|
"""
|
|
function cower()
|
|
|
|
A cowering cow
|
|
|
|
# Example
|
|
|
|
```jldoctest
|
|
julia> cowsay("Is it safe to come out yet?", cow=Cowsay.cower)
|
|
_____________________________
|
|
< Is it safe to come out yet? >
|
|
-----------------------------
|
|
\\
|
|
\\
|
|
,__, | |
|
|
(oo)\\| |___
|
|
(__)\\| | )\\_
|
|
| |_w | \\
|
|
| | || *
|
|
|
|
Cower....
|
|
|
|
```
|
|
"""
|
|
function cower(;eyes="oo", tongue=" ", thoughts="\\")
|
|
the_cow =
|
|
"""
|
|
$thoughts
|
|
$thoughts
|
|
,__, | |
|
|
(oo)\\| |___
|
|
(__)\\| | )\\_
|
|
| |_w | \\
|
|
| | || *
|
|
|
|
Cower....
|
|
"""
|
|
return the_cow
|
|
end
|