Conditionals
Hakaru supports an if expression. This if must have two
bodies. There exists no special syntax for else if like
you might find in Python.
a = 4
b = 5
if a > b:
a + 1
else:
b - 2
Hakaru supports an if expression. This if must have two
bodies. There exists no special syntax for else if like
you might find in Python.
a = 4
b = 5
if a > b:
a + 1
else:
b - 2
From here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| n | Next page |
| p | Previous page |
| s | Search |