From 0aef364cca7251b017797e75d3202e84defa45e9 Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Tue, 6 Feb 2024 16:39:20 +0000 Subject: [PATCH] Use tuple in example.jl --- exercises/practice/resistor-color-duo/.meta/example.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/resistor-color-duo/.meta/example.jl b/exercises/practice/resistor-color-duo/.meta/example.jl index d141dfa8..83326ce2 100644 --- a/exercises/practice/resistor-color-duo/.meta/example.jl +++ b/exercises/practice/resistor-color-duo/.meta/example.jl @@ -1,4 +1,4 @@ -const COLORS = [ +const COLORS = ( "black", "brown", "red", @@ -9,7 +9,7 @@ const COLORS = [ "violet", "grey", "white" -] +) function colorcode(colors) tens = value(colors[1])