diff --git a/tests/results/examples/talk/4-function.1.result b/tests/results/examples/talk/4-function.1.result new file mode 100644 index 00000000..c9646a00 --- /dev/null +++ b/tests/results/examples/talk/4-function.1.result @@ -0,0 +1,2 @@ +'J'aime Paris !' +The translation of "I love Madrid!" into Spanish is: "Me encanta Madrid." \ No newline at end of file diff --git a/tests/results/examples/talk/4-function.12.result b/tests/results/examples/talk/4-function.12.result deleted file mode 100644 index 2d73b208..00000000 --- a/tests/results/examples/talk/4-function.12.result +++ /dev/null @@ -1,2 +0,0 @@ -The sentence 'I love Paris!' translates to 'Je t'aime Paris!' in French. However, if you want to say 'I love Paris' without the possessive pronoun, it would be 'Je aime Paris!'. -The sentence 'I love Madrid!' translates to 'Me encanta Madrid!' in Spanish. diff --git a/tests/results/examples/tutorial/parser_regex.3.result b/tests/results/examples/tutorial/parser_regex.3.result index 362bf86e..75ae44fb 100644 --- a/tests/results/examples/tutorial/parser_regex.3.result +++ b/tests/results/examples/tutorial/parser_regex.3.result @@ -1,7 +1,2 @@ -def add_numbers(a, b): - while b != 0: - carry = (a & b) << 1 - a = a ^ b - b = carry - - return a +result = add_two_numbers(3, 5) +print(result) # Output: 8