diff --git a/content/adventures/ar.yaml b/content/adventures/ar.yaml index e51afb67241..1291a099983 100644 --- a/content/adventures/ar.yaml +++ b/content/adventures/ar.yaml @@ -974,6 +974,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` rock_2: default_save_name: rock_2 levels: diff --git a/content/adventures/bg.yaml b/content/adventures/bg.yaml index 2572d2b7cda..65aaa7d2af6 100644 --- a/content/adventures/bg.yaml +++ b/content/adventures/bg.yaml @@ -1885,6 +1885,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/bn.yaml b/content/adventures/bn.yaml index 5c15bf7db25..c44a941cf17 100644 --- a/content/adventures/bn.yaml +++ b/content/adventures/bn.yaml @@ -2710,6 +2710,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers।" example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/ca.yaml b/content/adventures/ca.yaml index d6c2a92d2dc..eb266f1ca55 100644 --- a/content/adventures/ca.yaml +++ b/content/adventures/ca.yaml @@ -716,6 +716,15 @@ adventures: story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: while diff --git a/content/adventures/cs.yaml b/content/adventures/cs.yaml index 3ca35a3a79f..ab2463c0700 100644 --- a/content/adventures/cs.yaml +++ b/content/adventures/cs.yaml @@ -978,6 +978,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` elif_command: default_save_name: elif levels: diff --git a/content/adventures/cy.yaml b/content/adventures/cy.yaml index e0c348fd4d6..1ace1f8d514 100644 --- a/content/adventures/cy.yaml +++ b/content/adventures/cy.yaml @@ -891,6 +891,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: while diff --git a/content/adventures/da.yaml b/content/adventures/da.yaml index 3149f8a0d3e..48907bb2e7e 100644 --- a/content/adventures/da.yaml +++ b/content/adventures/da.yaml @@ -899,6 +899,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/de.yaml b/content/adventures/de.yaml index 203bbd1d47b..ba167a38bb6 100644 --- a/content/adventures/de.yaml +++ b/content/adventures/de.yaml @@ -2608,6 +2608,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/el.yaml b/content/adventures/el.yaml index 4e218a3279d..a09e87363ee 100644 --- a/content/adventures/el.yaml +++ b/content/adventures/el.yaml @@ -1494,6 +1494,15 @@ adventures: example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` 6: start_code: "{print} '5 times 5 is ' 5 * 5" story_text: "## 1 + 1\nIn this level you learn something new: you can now also calculate.\n\nThe plus is easy, you write it like with math: `5 + 5` for example. The minus also works fine, it is `5 - 5`.\n\nThe times is a bit different, because there is no times symbol on your keyboard. Just search, there really isn't!\nThat is why we multiply with the asterisk above 8: `5 * 5`. Read that as \"5 times 5\" that helps you remember it best.\n" diff --git a/content/adventures/en.yaml b/content/adventures/en.yaml index 325336443d7..a0fda9ddf9e 100644 --- a/content/adventures/en.yaml +++ b/content/adventures/en.yaml @@ -931,6 +931,15 @@ adventures: {print} 'Two and a half plus two and a half is...' {print} 2.5 + 2.5 ``` + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: "introducing and or" diff --git a/content/adventures/eo.yaml b/content/adventures/eo.yaml index fee2e9b37ee..4532b00831c 100644 --- a/content/adventures/eo.yaml +++ b/content/adventures/eo.yaml @@ -867,6 +867,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` name: maths description: Introducing maths default_save_name: maths diff --git a/content/adventures/es.yaml b/content/adventures/es.yaml index b2c7513d7c9..8b59a4bf439 100644 --- a/content/adventures/es.yaml +++ b/content/adventures/es.yaml @@ -1625,6 +1625,15 @@ adventures: start_code: "{print} 'los números decimales ahora tienen que usar un punto'\n{print} 2.5 + 2.5" story_text: "**Números decimales**\nHasta ahora, Hedy no permitía números decimales como 1.5, pero ahora permitimos eso. Ten en cuenta que los ordenadores usan el `.` para los números decimales." example_code: "```\n{print} 'Dos y media más dos y medio es...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` clear_command: description: comando limpiar default_save_name: comando_limpiar diff --git a/content/adventures/et.yaml b/content/adventures/et.yaml index bf4b0f5f268..523a8b39a5a 100644 --- a/content/adventures/et.yaml +++ b/content/adventures/et.yaml @@ -399,7 +399,7 @@ adventures: story_text_2: "### Exercise\nCan you think of more lines to add to your restaurant code? For example, can you {ask} the guests what they'd like to drink, tell them the price, or wish them a pleasant meal?\n" start_code: '# place your code here' 4: - story_text: "In thsi level you have to use quotation marks when using the `{print}` command.\nCan you make your code from the previous levels work in this level too by adding the quotation marks?\n\nBe careful! In the previous levels apostrophes were allowed in the text, but in this level Hedy will confuse them for quotation marks and the code will not work!\nSo instead of typing `{print} Today we're serving pizza` , you should type `{print} 'Today we are serving pizza'`\n" + story_text: "In this level you have to use quotation marks when using the `{print}` command.\nCan you make your code from the previous levels work in this level too by adding the quotation marks?\n\nBe careful! In the previous levels apostrophes were allowed in the text, but in this level Hedy will confuse them for quotation marks and the code will not work!\nSo instead of typing `{print} Today we're serving pizza` , you should type `{print} 'Today we are serving pizza'`\n" example_code: "```\n{print} 'Welcome to Hedys restaurant!'\n{print} 'Today we are serving pizza or lasagna.'\nfood {is} {ask} 'What would you like to eat?'\n{print} 'Great choice! The ' food ' is my favorite!'\ntopping {is} {ask} 'Would you like meat or veggies on that?'\n{print} food ' with ' topping ' is on its way!'\ndrinks {is} {ask} 'What would you like to drink with that?'\n{print} 'Thank you for your order.'\n{print} 'Your ' food ' and ' drinks ' will be right there!'\n```\n" start_code: '# place your code here' 6: @@ -464,7 +464,7 @@ adventures: example_code: "```\n{print} 'Im Hedy the fortune teller!'\nquestion {is} {ask} 'What do you want to know?'\n{print} 'This is your question: ' question\nanswers {is} yes, no, maybe\n{print} 'My crystal ball says...'\n{sleep} 2\n{print} answers {at} {random}\n```\n" start_code: '# place your code here' 5: - story_text: "In thsi level you'll learn to (secretly) tip the odds in your favor, when using the fortune teller!\nBy using `{if}` and `{else}` you can make sure that you will always get a good fotune, while other people might not.\nCheck out this example to find out how.\n" + story_text: "In this level you'll learn to (secretly) tip the odds in your favor, when using the fortune teller!\nBy using `{if}` and `{else}` you can make sure that you will always get a good fotune, while other people might not.\nCheck out this example to find out how.\n" example_code: "```\n{print} 'Im Hedy the fortune teller!'\n{print} 'I can predict {if} youll win the lottery tomorrow!'\nperson {is} {ask} 'Who are you?'\n{if} person {is} Hedy {print} 'You will definitely win!🤩' {else} {print} 'Bad luck! Someone {else} will win!😭'\n```\n" start_code: '# place your code here' 7: @@ -900,6 +900,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: while diff --git a/content/adventures/fa.yaml b/content/adventures/fa.yaml index 48bf5f578a2..617e5f8762b 100644 --- a/content/adventures/fa.yaml +++ b/content/adventures/fa.yaml @@ -905,6 +905,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/fi.yaml b/content/adventures/fi.yaml index a01e446e786..7f2b1255626 100644 --- a/content/adventures/fi.yaml +++ b/content/adventures/fi.yaml @@ -806,6 +806,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: levels: 15: diff --git a/content/adventures/fr.yaml b/content/adventures/fr.yaml index 872be65473a..d0a3cfb1650 100644 --- a/content/adventures/fr.yaml +++ b/content/adventures/fr.yaml @@ -2614,6 +2614,15 @@ adventures: start_code: "{print} \"Les nombres décimaux ont maintenant besoin d'utiliser un point\"\n{print} 2.5 + 2.5" story_text: "**Nombres décimaux**\nJusqu'à présent, Hedy ne te permettait pas d'utiliser les nombres décimaux comme 1.5, mais maintenant nous les autorisons. Attention, les langages de programmation utilisent le point pour les nombres décimaux et non la virgule." example_code: "```\n{print} \"Deux et demi plus deux et demi fait…\"\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` description: Introduction des maths default_save_name: maths elif_command: diff --git a/content/adventures/fy.yaml b/content/adventures/fy.yaml index 3a7e882c0ab..c58d22d28ba 100644 --- a/content/adventures/fy.yaml +++ b/content/adventures/fy.yaml @@ -1128,6 +1128,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` name: maths default_save_name: maths rock_2: diff --git a/content/adventures/he.yaml b/content/adventures/he.yaml index 7ecadef2bca..171971e43d5 100644 --- a/content/adventures/he.yaml +++ b/content/adventures/he.yaml @@ -896,6 +896,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: description: introducing and or default_save_name: and or diff --git a/content/adventures/hi.yaml b/content/adventures/hi.yaml index 3ff816f8d83..46fb4f05c26 100644 --- a/content/adventures/hi.yaml +++ b/content/adventures/hi.yaml @@ -2396,6 +2396,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers।" example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` name: maths elif_command: name: "{elif}" diff --git a/content/adventures/hu.yaml b/content/adventures/hu.yaml index d163c7459dd..4991e0e7043 100644 --- a/content/adventures/hu.yaml +++ b/content/adventures/hu.yaml @@ -1794,6 +1794,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` name: maths description: Introducing maths default_save_name: maths diff --git a/content/adventures/id.yaml b/content/adventures/id.yaml index dd7bf20d349..117c27f24d6 100644 --- a/content/adventures/id.yaml +++ b/content/adventures/id.yaml @@ -1818,6 +1818,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` elif_command: name: "{elif}" description: elif diff --git a/content/adventures/it.yaml b/content/adventures/it.yaml index 8ccfdea8d8c..af011c638e6 100644 --- a/content/adventures/it.yaml +++ b/content/adventures/it.yaml @@ -2834,6 +2834,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` elif_command: name: "{elif}" description: elif diff --git a/content/adventures/ja.yaml b/content/adventures/ja.yaml index f5ad353a788..6d48e1ae91e 100644 --- a/content/adventures/ja.yaml +++ b/content/adventures/ja.yaml @@ -743,6 +743,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` harry_potter: name: Harry Potter description: Harry Potter adventures diff --git a/content/adventures/kmr.yaml b/content/adventures/kmr.yaml index 73785a200a3..076f7b73854 100644 --- a/content/adventures/kmr.yaml +++ b/content/adventures/kmr.yaml @@ -900,6 +900,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/ko.yaml b/content/adventures/ko.yaml index cbc3ee852b2..6b4e516be79 100644 --- a/content/adventures/ko.yaml +++ b/content/adventures/ko.yaml @@ -930,6 +930,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` clear_command: levels: 4: diff --git a/content/adventures/nb_NO.yaml b/content/adventures/nb_NO.yaml index 9f113e034ee..de7fc0cd80c 100644 --- a/content/adventures/nb_NO.yaml +++ b/content/adventures/nb_NO.yaml @@ -878,6 +878,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` description: Introducing maths default_save_name: maths and_or_command: diff --git a/content/adventures/nl.yaml b/content/adventures/nl.yaml index 2b451007054..f5283d7ac40 100644 --- a/content/adventures/nl.yaml +++ b/content/adventures/nl.yaml @@ -2845,18 +2845,25 @@ adventures: example_code_2: "```\nnaam = Hedy\nantwoord = 20 + 4\n```\n" 12: story_text: |- - **Rekenen met woorden** - In dit level kun je het + teken ook gebruiken met woorden. Zoals het voorbeeld hier: + **Kommagetallen** + Tot nu toe mocht je in Hedy geen kommagetallen gebruiken zoals 1.5, maar vanaf nu mag dat wel! Let op dat je een punt moet gebruiken in plaats van een komma. Kijk maar: example_code: | ``` - a = 'Hallo ' - b = 'wereld!' - {print} a + b + {print} 'Anderhalf plus anderhalf is...' + {print} 1.5 + 1.5 ``` start_code: | + {print} 'Kommagetallen gebruiken een punt' + {print} 2.5 + 2.5 + story_text_2: |- + **Rekenen met woorden** + In dit level kun je het + teken ook gebruiken met woorden. Zoals het voorbeeld hier: + example_code_2: | + ``` a = 'Hallo ' b = 'wereld!' {print} a + b + ``` name: Rekenen description: Introducing maths default_save_name: maths diff --git a/content/adventures/pa_PK.yaml b/content/adventures/pa_PK.yaml index f217033b6c5..cd1df64093d 100644 --- a/content/adventures/pa_PK.yaml +++ b/content/adventures/pa_PK.yaml @@ -891,6 +891,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/pl.yaml b/content/adventures/pl.yaml index 85d5e2d913a..b012ffe3612 100644 --- a/content/adventures/pl.yaml +++ b/content/adventures/pl.yaml @@ -999,6 +999,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/pt_BR.yaml b/content/adventures/pt_BR.yaml index 51888088346..f409a4303e7 100644 --- a/content/adventures/pt_BR.yaml +++ b/content/adventures/pt_BR.yaml @@ -1056,6 +1056,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/pt_PT.yaml b/content/adventures/pt_PT.yaml index c2f68231482..681a5af7eab 100644 --- a/content/adventures/pt_PT.yaml +++ b/content/adventures/pt_PT.yaml @@ -1539,6 +1539,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/ro.yaml b/content/adventures/ro.yaml index 06c7a65f38e..ce39dbe56a2 100644 --- a/content/adventures/ro.yaml +++ b/content/adventures/ro.yaml @@ -967,6 +967,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/ru.yaml b/content/adventures/ru.yaml index 14bd76d57c6..26a64638313 100644 --- a/content/adventures/ru.yaml +++ b/content/adventures/ru.yaml @@ -877,6 +877,15 @@ adventures: example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` 6: start_code: "{print} '5 times 5 is ' 5 * 5" story_text: "## 1 + 1\nIn this level you learn something new: you can now also calculate.\n\nThe plus is easy, you write it like with math: `5 + 5` for example. The minus also works fine, it is `5 - 5`.\n\nThe times is a bit different, because there is no times symbol on your keyboard. Just search, there really isn't!\nThat is why we multiply with the asterisk above 8: `5 * 5`. Read that as \"5 times 5\" that helps you remember it best.\n" diff --git a/content/adventures/sq.yaml b/content/adventures/sq.yaml index 36647a68694..08cf06f2e38 100644 --- a/content/adventures/sq.yaml +++ b/content/adventures/sq.yaml @@ -921,6 +921,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: while diff --git a/content/adventures/sr.yaml b/content/adventures/sr.yaml index 2b2a3511108..3102991429c 100644 --- a/content/adventures/sr.yaml +++ b/content/adventures/sr.yaml @@ -891,6 +891,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/sv.yaml b/content/adventures/sv.yaml index 3ddb7e02234..27f9e4cc655 100644 --- a/content/adventures/sv.yaml +++ b/content/adventures/sv.yaml @@ -789,6 +789,15 @@ adventures: start_code: "{print} 'decimaltal behöver nu använda en punkt'\n{print} 2.5 + 2.5" story_text: "**Decimaltal**\nHittills har Hedy inte tillåtit decimaltal som 1.5, men nu tillåter vi det. Tänk på att datorer använder `.` för decimaltal." example_code: "```\n{print} 'Två och en halv plus två och en halv är …'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: så länge diff --git a/content/adventures/sw.yaml b/content/adventures/sw.yaml index f382ac9fb1f..c2baebcccc7 100644 --- a/content/adventures/sw.yaml +++ b/content/adventures/sw.yaml @@ -827,6 +827,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` name: maths description: Introducing maths default_save_name: maths diff --git a/content/adventures/te.yaml b/content/adventures/te.yaml index d96d8bfa78a..41002c143f0 100644 --- a/content/adventures/te.yaml +++ b/content/adventures/te.yaml @@ -900,6 +900,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: while diff --git a/content/adventures/th.yaml b/content/adventures/th.yaml index be488465dec..68101cb54a3 100644 --- a/content/adventures/th.yaml +++ b/content/adventures/th.yaml @@ -747,6 +747,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` elif_command: name: "{elif}" description: elif diff --git a/content/adventures/tl.yaml b/content/adventures/tl.yaml index 7b7339a9ff6..d7589b6a7ce 100644 --- a/content/adventures/tl.yaml +++ b/content/adventures/tl.yaml @@ -764,6 +764,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` ask_command: name: "{ask}" description: Introduction ask command diff --git a/content/adventures/tn.yaml b/content/adventures/tn.yaml index 3a18caeec28..e8a9386b4d6 100644 --- a/content/adventures/tn.yaml +++ b/content/adventures/tn.yaml @@ -891,6 +891,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/tr.yaml b/content/adventures/tr.yaml index 68cc3a3655e..a8d3acd2310 100644 --- a/content/adventures/tr.yaml +++ b/content/adventures/tr.yaml @@ -2712,6 +2712,15 @@ adventures: start_code: "{print} 'ondalık sayıların artık bir nokta kullanması gerekiyor'\n{print} 2.5 + 2.5" story_text: "**Ondalık sayılar**\nŞimdiye kadar Hedy, 1.5 gibi ondalık sayılara izin vermiyordu, ancak şimdi buna izin veriyoruz. Bilgisayarların ondalık sayılar için `.` (nokta) kullandığını unutmayın." example_code: "```\n{print} 'İki buçuk artı iki buçuk eder...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` 6: start_code: "{print} '5 kere 5 eder ' 5 * 5" story_text: "## 1 + 1\nBu seviyede yeni bir şey öğreniyorsunuz: artık hesaplama da yapabileceksiniz.\n\nToplama kolaydır, matematikte olduğu gibi yazarsınız: Örneğin `5 + 5`. Çıkarma da iyi çalışır, `5 - 5` şeklindedir.\n\nÇarpma biraz farklıdır, çünkü klavyenizde çarpma simgesi yoktur. Arayın bakın, özel klavye değilse gerçekten yoktur!\nBu yüzden çarpmayı sayıların yanındaki yıldız işaretiyle yapıyoruz: `5 * 5`. Bunu \"5 çarpı 5\" olarak okuyun, en iyi şekilde böyle hatırlamanıza yardımcı olur.\n" diff --git a/content/adventures/uk.yaml b/content/adventures/uk.yaml index 44bd8088c7f..0068bde8d27 100644 --- a/content/adventures/uk.yaml +++ b/content/adventures/uk.yaml @@ -757,6 +757,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: levels: 13: diff --git a/content/adventures/ur.yaml b/content/adventures/ur.yaml index 5fb52f8fc87..ecac0031e4c 100644 --- a/content/adventures/ur.yaml +++ b/content/adventures/ur.yaml @@ -882,6 +882,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` and_or_command: name: "{and} & {or}" description: introducing and or diff --git a/content/adventures/vi.yaml b/content/adventures/vi.yaml index 308410afc7a..4091f23be9e 100644 --- a/content/adventures/vi.yaml +++ b/content/adventures/vi.yaml @@ -901,6 +901,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` while_command: name: "{while}" description: while diff --git a/content/adventures/zh_Hans.yaml b/content/adventures/zh_Hans.yaml index 85fdfee59ea..8f6011e67ae 100644 --- a/content/adventures/zh_Hans.yaml +++ b/content/adventures/zh_Hans.yaml @@ -1396,6 +1396,15 @@ adventures: start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` name: maths description: Introducing maths rock_2: diff --git a/content/adventures/zh_Hant.yaml b/content/adventures/zh_Hant.yaml index 0a4a07f6001..98b63ba5645 100644 --- a/content/adventures/zh_Hant.yaml +++ b/content/adventures/zh_Hant.yaml @@ -785,6 +785,15 @@ adventures: story_text: "**Decimal numbers**\nSo far, Hedy did not allow for decimal numbers like 1.5, but now we do allow that. Note that computers use the `.` for decimal numbers." start_code: "{print} 'decimal numbers now need to use a dot'\n{print} 2.5 + 2.5" example_code: "```\n{print} 'Two and a half plus two and a half is...'\n{print} 2.5 + 2.5\n```\n" + story_text_2: |- + **Maths with words** + In this level you can also do addition with words like this: + example_code_2: | + ``` + a = 'Hello ' + b = 'world!' + {print} a + b + ``` 6: start_code: "{print} '5 times 5 is ' 5 * 5" story_text: "## 1 + 1\nIn this level you learn something new: you can now also calculate.\n\nThe plus is easy, you write it like with math: `5 + 5` for example. The minus also works fine, it is `5 - 5`.\n\nThe times is a bit different, because there is no times symbol on your keyboard. Just search, there really isn't!\nThat is why we multiply with the asterisk above 8: `5 * 5`. Read that as \"5 times 5\" that helps you remember it best.\n"