Created
July 16, 2020 16:32
-
-
Save fellipecaetano/4880371303e4038254260ec4b516faae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = 0 | |
for i from 1 to 3 // loop three times | |
{ | |
a = a + i // add the current value of i to a | |
} | |
print a // the number 6 is printed (0 + 1; 1 + 2; 3 + 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment