mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 04:37:47 +08:00
10 lines
165 B
Plaintext
10 lines
165 B
Plaintext
|
|
|
|
for i in 1..100
|
|
if i%3 == 0 and i%5 == 0 then print('fizzbuzz')
|
|
else if i%3 == 0 then print('fizz')
|
|
else if i%5 == 0 then print('buzz')
|
|
else print(i)
|
|
end
|
|
end
|