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 @@ collatz(x int) {
x = 3 * x + 1
}
io.number(x)
fmt.decimal(x)
if x == 1 {
return