All your codebase are belong to us.

This commit is contained in:
kolaente 2022-08-14 12:42:59 +02:00
parent 86f443ef73
commit 2d43e7e33b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 4 deletions

View File

@ -12,10 +12,9 @@ func FizzBuzz() {
}
func fizzOrBuzz(number int) string {
three := handle3(number)
five := handle5(number)
if three != "" || five != "" {
return three + five
out := handle3(number) + handle5(number)
if out != "" {
return out
}
return strconv.Itoa(number)