blob: ea7a8425d777ec953c166a0e9a9b7e00b342c098 [file] [log] [blame] [edit]
# If-else clauses
if True:
pass
elif False:
pass
if foo in bar:
for f in foo:
# loop
f()
elif True:
a = b
elif False:
#assign
b = a
else:
(a, b) = (b, a)
if foo:
bar
if foo: # this is assigned to foo
pass
else: # this is assigned to "else"
if bar: # this is assigned to bar
pass
else: # this is assigned to "else" too
pass