mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 20:50:55 +08:00
10 lines
159 B
Plaintext
10 lines
159 B
Plaintext
![]() |
|
||
|
|
||
|
for i in 1..100
|
||
|
if i%3 == 0 and i%5 == 0 then print('fizzbuzz')
|
||
|
elif i%3 == 0 then print('fizz')
|
||
|
elif i%5 == 0 then print('buzz')
|
||
|
else print(i)
|
||
|
end
|
||
|
end
|