repo.or.cz
/
boo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BOO-835: DSL-friendly method syntax, Let's give it a testcase.
[boo.git]
/
tests
/
testcases
/
integration
/
statements
/
for_else-3.boo
blob
780336ff7235969bf1251f5593a8fcf79d988f2c
1
"""
2
boo
3
0
4
1
5
2
6
3
7
4
8
Did we make it?
9
"""
10
11
t
= (
"boo"
,
"bar"
,
"baz"
,
"foo"
)
12
13
for
item
in
t
:
14
print
item
15
for
i
in
range
(
5
):
print
i
16
else
:
break
17
else
:
18
print
"We shouldn't be here!"
19
20
print
"Did we make it?"