Removed log from the standard library
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import io
|
||||
import log
|
||||
|
||||
main() {
|
||||
fizzbuzz(15)
|
||||
@ -13,7 +12,7 @@ fizzbuzz(n int) {
|
||||
x % 15 == 0 { io.out("FizzBuzz") }
|
||||
x % 5 == 0 { io.out("Buzz") }
|
||||
x % 3 == 0 { io.out("Fizz") }
|
||||
_ { log.number(x) }
|
||||
_ { io.number(x) }
|
||||
}
|
||||
|
||||
x += 1
|
||||
|
Reference in New Issue
Block a user