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 { func fizzOrBuzz(number int) string {
three := handle3(number) out := handle3(number) + handle5(number)
five := handle5(number) if out != "" {
if three != "" || five != "" { return out
return three + five
} }
return strconv.Itoa(number) return strconv.Itoa(number)