Skip to content

Commit 3638017

Browse files
each-in-to
1 parent 26960ec commit 3638017

File tree

7 files changed

+419
-252
lines changed

7 files changed

+419
-252
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ each f in fruits:
4545
print "Fruit:", f
4646
end
4747

48-
give x # return value
48+
each i in 1 to 3:
49+
print "Count:", i
50+
end
4951
```
5052

5153
**Output:**
@@ -59,6 +61,9 @@ Count: 2
5961
Fruit: apple
6062
Fruit: banana
6163
Fruit: cherry
64+
Count: 1
65+
Count: 2
66+
Count: 3
6267
```
6368

6469
---

0 commit comments

Comments
 (0)