added while and do-while loops

This commit is contained in:
cozis
2021-11-03 01:25:18 +00:00
parent 035649bd63
commit c0d788656e
7 changed files with 328 additions and 7 deletions
+16
View File
@@ -0,0 +1,16 @@
p = true;
while p:
{
print('Hello!\n');
p = false;
}
do {
print('Hello 2!\n');
} while true;