Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Kotlin
val numbers = listOf(1, 2, 3, 4)
val sum = numbers.sum()
for E of x loop
   S := S + E;
end loop;

x is an array.
S is initialized to be 0.

New implementation...
< >
deleplace