reorganizing code

This commit is contained in:
cozis
2022-03-12 23:17:44 +01:00
parent de11b968fb
commit 2dcfbd194e
18 changed files with 141 additions and 335 deletions
+1 -15
View File
@@ -3,18 +3,4 @@ B = ', ';
C = 'world';
D = strcat(A, B, C);
fun append_esclamation_mark(A, n) {
if n == none:
n = 1;
i = 0;
while i < n: {
A = strcat(A, '!');
i = i + 1;
}
return A;
}
print(append_esclamation_mark(D, 3), '\n');
print(D, '\n');