julia> using FizzBuzz
julia> fizzbuzz(1:5)
1
2
fizz
4
buzz
julia> io = IOBuffer();
julia> fizzbuzz(1:15, io)
julia> String(take!(io))
"1\n2\nfizz\n4\nbuzz\nfizz\n7\n8\nfizz\nbuzz\n11\nfizz\n13\n14\nfizz buzz\n"
julia> @fizzbuzz 1:5
1
2
fizz
4
buzz
Never Fail Another Interview™
License
harryscholes/FizzBuzz.jl
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Never Fail Another Interview™
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published