Added fmt package

This commit is contained in:
2025-04-07 15:13:57 +02:00
parent cac2bad2fe
commit 08ea91f46c
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