summaryrefslogtreecommitdiff
path: root/code.txt
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-08-30 20:57:12 +0200
committertomsmeding <tom.smeding@gmail.com>2016-08-30 20:57:12 +0200
commitf0b90a58bf587501a1b5814929b3df33bb8e5a94 (patch)
tree11a3a5907f0c06a6e99950ed2f4eb566d8aebdac /code.txt
parente7b8610da9c93ec8b2578924eecd4861fcb23eab (diff)
While loop
Diffstat (limited to 'code.txt')
-rw-r--r--code.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/code.txt b/code.txt
index 0c0ed92..2eedda0 100644
--- a/code.txt
+++ b/code.txt
@@ -20,4 +20,9 @@ def main(argc,argv){
} else {
print("rip");
}
+
+ while a < 10 {
+ print(a);
+ a += 1;
+ }
}