Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request hedyorg#423 from dpprdan/fix/typographic_quotes
Browse files Browse the repository at this point in the history
remove typographic quotes
  • Loading branch information
fpereiro authored May 18, 2021
2 parents 627fe4b + 11f7e8a commit 4fc078a
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 57 deletions.
10 changes: 5 additions & 5 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ can now use both [`number is 12`] and [`name is Hedy`].
### Level 4: Selection with if and else flat

In Level 5, selection with the if statement is introduced, but the
syntax is flat, i.e. placed on one line, resembling a regular syntax
syntax is 'flat', i.e. placed on one line, resembling a regular syntax
more:\
[`if name is print `]\
Else statements are also included, and are also placed on one line,
Expand All @@ -124,7 +124,7 @@ using the keyword [`else`]:\

In working with non-English native Python novices. Research has found
the keyword [`for`] to be a confusing word for repetition, especially
because it sounds like the word four [@hermans_code_2018]. For our
because it sounds like the word 'four' [@hermans_code_2018]. For our
first simplest form, according to Design Goal 2, we opt to use
Quorum [@stefik_quorum_2017] syntax [`repeat x times`]. In this
initial form, like the if the syntax is placed on one line:\
Expand All @@ -145,11 +145,11 @@ steep learning curve and should be treated as a separate learning goal.

### Level 7: Code blocks

After Level 6, there is a clear need to move on, as the body of a loop
After Level 6, there is a clear need to 'move on', as the body of a loop
(and also that of an if) can only consist of one line, which limits the
possibilities of programs that users can create. We assume this
limitation will be a motivating factor for learners, rather than having
to learn the block structure of Python, they are motivated by the
limitation will be a motivating factor for learners, rather than 'having
to learn' the block structure of Python, they are motivated by the
prospect of building larger and more interesting programs (Design Goal
6). The syntax of the loop remains otherwise unchanged as per Design
Goal 3, so the new form is:\
Expand Down
6 changes: 3 additions & 3 deletions coursedata/level-defaults/hu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
if szin is zöld print 'szép!' else print 'csúnya'
5:
start_code: "repeat 3 times print 'A Hedy szórakoztató!'"
intro_text: "`ask`, `print` és `if` ugyanúgy működik mint a 4. szinten. De az 5. szinten megjelenik a `repeat` parancs. A repeat utasítást parancsok ismételt végrehajtásánál lehet használni."
intro_text: "`ask`, `print` és `if` ugyanúgy működik mint a 4. szinten. De az 5. szinten megjelenik a `repeat` parancs. A 'repeat' utasítást parancsok ismételt végrehajtásánál lehet használni."
commands:
- name: "print"
explanation: "Pontos kiíratás idézójelekkel."
Expand All @@ -93,7 +93,7 @@
szin is ask Mi a kedvenc színed?
print szin ' a kedvenced!'
- name: "if"
explanation: "Készíts elágazást az `if` és az else utasítással"
explanation: "Készíts elágazást az `if` és az 'else' utasítással"
example: "Példa: if szin is zöld print 'szép!' else print 'csúnya'"
demo_code: |-
szin is ask Mi a kedvenc színed?
Expand Down Expand Up @@ -165,7 +165,7 @@
start_code: |-
for i in range 1 to 10
print i
print Aki bújt, aki nem, megyek!'
print 'Aki bújt, aki nem, megyek!'
intro_text: "`print` ugyanúgy működik, mint eddig, de a `repeat` utasítást `for` helyettesíti! `for i in range 1 to 5` utasításokat fogod használni, `repeat 5 times` helyett. Használhatsz `i` -t is a programban! Ne felejts el behúzásokat használni a 'for' és 'if' utasítások után (ez azt jelenti, hogy egy sort négy szóközzel kell kezdned) "
commands:
- name: "repeat"
Expand Down
Loading

0 comments on commit 4fc078a

Please sign in to comment.