Skip to content

Commit

Permalink
Merge pull request #72 from paqe/typos-en
Browse files Browse the repository at this point in the history
Fix typos in English level defaults
  • Loading branch information
Felienne authored Jun 5, 2020
2 parents f43eda4 + 7f68a3b commit 5a51bd5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions coursedata/level-defaults/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
demo_code: "color is ask What is your favorite color?\\nprint color is your favorite!"
-
name: "choose_random"
explanation: "Choose a random word from a group with at "
explanation: "Choose a random word from a group with at and random"
example: "Example: animals is dog, cat, kangaroo."
demo_code: "animals is dog, cat, kangaroo\\nprint animals at random"
3:
Expand All @@ -58,7 +58,7 @@
demo_code: "color is ask What is your favorite color?\\nprint color ' is your favorite!'"
4:
start_code: "name is ask what is your name?\nif name is Hedy print 'cool!' else print 'meh'"
intro_text: "ask en printwork exactly like they did in Level 3. Level 4 adds the if statement!"
intro_text: "ask and print work exactly like they did in Level 3. Level 4 adds the if statement!"
commands:
-
name: "print"
Expand All @@ -77,7 +77,7 @@
demo_code: "color is ask What is your favorite color?\\nif color is green print 'pretty!' else print 'meh'"
5:
start_code: "repeat 3 times print 'Hedy is fun!'"
intro_text: "ask, print en if work exactly like they did in Level 4. But Level 5 adds the repeat command. Repeat can be used to execute a line of code multiple times."
intro_text: "ask, print and if work exactly like they did in Level 4. But Level 5 adds the repeat command. Repeat can be used to execute a line of code multiple times."
commands:
-
name: "print"
Expand All @@ -101,15 +101,15 @@
demo_code: "color is ask What is your favorite color?\\nif color is green repeat 3 times print 'pretty!' else repeat 5 times print 'meh'"
6:
start_code: "print '5 times 5 is ' 5 * 5"
intro_text: "ask, print, if en repeat are still the same as in Level 4 en 5. Level 6 adds something new... You can now calculate. "
intro_text: "ask, print, if and repeat are still the same as in Level 4 and 5. Level 6 adds something new... You can now calculate. "
commands:
-
name: "print"
explanation: "Print exactly using quotation marks"
example: "Example: print '5 times 5 is ' 5 * 5"
demo_code: "print '5 times 5 is ' 5 * 5"
-
name: "ask en if with calculations"
name: "ask and if with calculations"
explanation: "Ask for a calculation and compare with if. Beware: Print still needs quotation marks."
example: "Example: answer is ask What is 10 plus 10?"
demo_code: "answer is ask What is 10 plus 10?\\nif answer is 20 print 'Yes!' else print 'Oops'"
Expand All @@ -133,8 +133,8 @@
example: "Example: answer is ask What is 5 plus 5?"
demo_code: "answer is ask What is 5 plus 5?\\nif answer is 10\\n print 'Well done!'\\n print 'Indeed, the answer was ' answer\\nelse\\n print 'Oops!'\\n print 'The answer is ' answer"
-
name: "if en repeat combined"
explanation: "if en repeat combined"
name: "if and repeat combined"
explanation: "if and repeat combined"
example: "Example: if color is green repeat 3 times print 'pretty!' else repeat 5 times print 'meh'"
demo_code: "color is ask What is your favorite color?\\nif color is green\\n repeat 3 times\\n print 'pretty!'\\nelse\\n repeat 5 times\\n print 'meh'"

0 comments on commit 5a51bd5

Please sign in to comment.