- Tundra supports regular
if/else statements like python.
- The condition must be wrapped around parenthesis
if (condition):
# true branch
print("Yes")
else:
# false branch
print("No")
- Tundra supports regular
while statements like python.
- The condition must be wrapped around parenthesis
var i = 0
while (i < 5):
print(i)
i = i + 1
- Tundra supports regular
for statements like python.
for i in range(3):
print(i)
-
- Tundra supports regular
break and continue statements like python.
for i in range(10):
if (i == 3):
break
if (i % 2 == 0):
continue
print(i)