Added fmt package

This commit is contained in:
Eduard Urbach 2025-04-07 15:13:57 +02:00
parent 1269a09049
commit 127b87f4ea
Signed by: eduard
GPG key ID: 49226B848C78F6C8
11 changed files with 25 additions and 20 deletions

View file

@ -1,3 +1,4 @@
import fmt
import io
main() {
@ -12,7 +13,7 @@ fizzbuzz(n int) {
x % 15 == 0 { io.out("FizzBuzz") }
x % 5 == 0 { io.out("Buzz") }
x % 3 == 0 { io.out("Fizz") }
_ { io.number(x) }
_ { fmt.decimal(x) }
}
x += 1