Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misspelling of Ukrainian #360

Merged
merged 1 commit into from
Aug 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 oldGold kools chesterfields luckyStrike parliaments
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