From 03f1b92839c3ff33ab31e739583c290b41ee7678 Mon Sep 17 00:00:00 2001 From: sampadb Date: Mon, 3 Jun 2024 19:27:38 -0700 Subject: [PATCH] changed true/false to "true"/ "false" as boolean is still not supported --- src/basics-of-bend.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basics-of-bend.md b/src/basics-of-bend.md index 14cd776..1a62a2f 100644 --- a/src/basics-of-bend.md +++ b/src/basics-of-bend.md @@ -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) @@ -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. \ No newline at end of file +In the next chapter, we will delve deeper into functions, exploring how to define and use them effectively in Bend.