Skip to content

Commit

Permalink
Use tuple in example.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcaine authored Feb 6, 2024
1 parent c86c910 commit 0aef364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/resistor-color-duo/.meta/example.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const COLORS = [
const COLORS = (
"black",
"brown",
"red",
Expand All @@ -9,7 +9,7 @@ const COLORS = [
"violet",
"grey",
"white"
]
)

function colorcode(colors)
tens = value(colors[1])
Expand Down

0 comments on commit 0aef364

Please sign in to comment.