Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/basics-of-bend.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Control flow in Bend allows you to make decisions in your code. The `if` stateme
```python
def is_even(number):
if number % 2 == 0:
return true
return "true"
else:
return false
return "false"

def main():
return is_even(10)
Expand Down Expand Up @@ -92,4 +92,4 @@ def main():
return get_option_value(my_option)
```

In the next chapter, we will delve deeper into functions, exploring how to define and use them effectively in Bend.
In the next chapter, we will delve deeper into functions, exploring how to define and use them effectively in Bend.