Skip to content

Commit

Permalink
📜 Rephrasing level 2 is command adventure (#5470)
Browse files Browse the repository at this point in the history
favorite_animal instead of favorite_animals

fixes #5461
  • Loading branch information
MarleenGilsing authored Apr 25, 2024
1 parent 13cacee commit 9186f51
Show file tree
Hide file tree
Showing 47 changed files with 216 additions and 220 deletions.
10 changes: 5 additions & 5 deletions content/adventures/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2427,12 +2427,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2580,12 +2580,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
12 changes: 5 additions & 7 deletions content/adventures/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,9 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal is ask What is your favorite animal?
print I like favorite_animal
```
{print} name is age years old।
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
example_code: |
Expand Down Expand Up @@ -2506,12 +2504,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
4 changes: 2 additions & 2 deletions content/adventures/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2588,9 +2588,9 @@ adventures:
story_text_2: |
### Exercici
És hora de crear les teves pròpies variables!
En el codi d'exemple hem fet un exemple de la variable `animals_preferits`. A la línia 1 es defineix la variable, i a la línia 2 hem utilitzat la variable dins una comanda d'impressió.
En el codi d'exemple hem fet un exemple de la variable `animal_preferit`. A la línia 1 es defineix la variable, i a la línia 2 hem utilitzat la variable dins una comanda d'impressió.
En primer lloc, acabeu el nostre exemple omplint el vostre animal preferit als espais en blanc. A continuació, feu vosaltres mateixos almenys 3 d'aquests codis. Trieu una variable i configureu-la amb la comanda {is}. A continuació, utilitzeu-lo amb una comanda {print}, tal com hem fet abans.
example_code_2: "```\nanimals_preferits {is} _\n{print} M'agraden els/les animals_preferits \n```\n"
example_code_2: "```\nanimal_preferit {is} _\n{print} M'agraden els/les animal_preferit \n```\n"
6:
story_text: |
We also make a change in storing a word in a variable! You may now use `=` instead of `{is}` when we store a name or a number in a variable, like this:
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2568,12 +2568,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2567,12 +2567,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2564,12 +2564,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
6 changes: 3 additions & 3 deletions content/adventures/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2618,12 +2618,12 @@ adventures:
story_text_2: |
### Übung
Es ist Zeit, deine eigenen Variablen zu definieren.
Im Beispiel-Code zeigen wir ein Beispiel mit der Variable `favorite_animals`. In Zeile 1 wird die Variable gesetzt, und in Zeile 2 verwenden wir die Variable in einem `{print}` Befehl.
Im Beispiel-Code zeigen wir ein Beispiel mit der Variable `favorite_animal`. In Zeile 1 wird die Variable gesetzt, und in Zeile 2 verwenden wir die Variable in einem `{print}` Befehl.
Zuerst, vervollständige unser Beispiel, in dem du dein Lieblingstier in die Leerstelle einträgst. Dann denke dir mindestens 3 eigene Code-Beispiele aus. Wähle eine Variable und gib der Variable mit dem `{is}` Befehl einen Wert. Dann verwenden den `{print}` Befehl, so wie wir es gezeigt haben.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2457,12 +2457,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals {is} {ask} What is your favorite animal?
{print} I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2595,12 +2595,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we used the variable in a `{print}` command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we used the variable in a `{print}` command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the `{is}` command. Then use it with a `{print}` command, just like we did.
example_code_2: |
```
favorite_animals {is} _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
10 changes: 5 additions & 5 deletions content/adventures/eo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ adventures:
Copy your code from the previous tab and make the variables interactive by using `{ask}` commands.
example_code_2: |
```
favorite_animals is ask What is your favorite animal?
print I like favorite_animals
favorite_animal {is} {ask} What is your favorite animal?
{print} I like favorite_animal
```
18:
story_text: The final change we will need to make to get Python code is changing `{ask}` into `{input}`.
Expand Down Expand Up @@ -2536,12 +2536,12 @@ adventures:
story_text_2: |
### Exercise
Time to make your own variables!
In the example code we made an example of the variable `favorite_animals`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
In the example code we made an example of the variable `favorite_animal`. In line 1 the variable is set, and in line 2 we haved used the variable in a print command.
Firstly, finish our example by filling in your favorite animal in the blanks. Then make at least 3 of these codes yourself. Pick a variable, and set the variable with the {is} command. Then use it with a {print} command, just like we did.
example_code_2: |
```
favorite_animals is _
{print} I like favorite_animals
favorite_animal {is} _
{print} I like favorite_animal
```
6:
story_text: |
Expand Down
6 changes: 3 additions & 3 deletions content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2580,12 +2580,12 @@ adventures:
story_text_2: |
### Ejercicio
¡Hora de crear tus propias variables!
En el código de ejemplo hicimos un ejemplo de la variable `favorite_animals`. En la línea 1 se crea la variable, y en la línea 2 usamos la variable en un comando `{print}`.
En el código de ejemplo hicimos un ejemplo de la variable `animal_favorito`. En la línea 1 se crea la variable, y en la línea 2 usamos la variable en un comando `{print}`.
Lo primero de todo, termina nuestro ejemplo rellenando tu animal favorito en el hueco en blanco. Después haz 3 códigos como estos por ti mismo. Elige una variable, y establece la variable con el comando `{is}`. Entonces úsala con un comando `{print}`, como hicimos.
example_code_2: |
```
animales_favoritos {is} _
{print} me gusta animales_favoritos
animal_favorito {is} _
{print} me gusta animal_favorito
```
6:
story_text: |
Expand Down
Loading

0 comments on commit 9186f51

Please sign in to comment.