Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed true/false to "true"/ "false" as boolean is still not supported #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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.