Skip to content

Commit

Permalink
misspelling of Ukrainian (#360)
Browse files Browse the repository at this point in the history
[no important files changed]
  • Loading branch information
glennj authored Aug 10, 2024
1 parent bf01618 commit 7ec753e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions exercises/practice/zebra-puzzle/.meta/example.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ oo::class create ZebraPuzzle {

variable one two three four five
variable red green ivory yellow blue
variable english spanish ukranian norwegian japanese
variable english spanish ukrainian norwegian japanese
variable dog snails fox horse zebra
variable dancing painting reading football chess
variable coffee tea milk orangeJuice water
Expand Down Expand Up @@ -82,7 +82,7 @@ oo::class create ZebraPuzzle {
}

method SolveForNationality {permutation} {
lassign $permutation english spanish ukranian norwegian japanese
lassign $permutation english spanish ukrainian norwegian japanese
# clues 2, 10, 15
if {
$english == $red
Expand All @@ -93,7 +93,7 @@ oo::class create ZebraPuzzle {
set nationality [dict create]
dict set nationalities $english EnglishMan
dict set nationalities $spanish Spaniard
dict set nationalities $ukranian Ukranian
dict set nationalities $ukrainian Ukrainian
dict set nationalities $norwegian Norwegian
dict set nationalities $japanese Japanese

Expand All @@ -108,7 +108,7 @@ oo::class create ZebraPuzzle {
# clues 4, 5, 9
if {
$coffee == $green
&& $ukranian == $tea
&& $ukrainian == $tea
&& $milk == $MIDDLE
} {
foreach p [permutations] {
Expand Down

0 comments on commit 7ec753e

Please sign in to comment.