Skip to content

Print until 100 and as a list

numbers := [];
for (i := 0; i <= 100; i++) {
    print(i);
    numbers.add(i);
}
print(numbers);