Enumerate exercises and add 'Solution' headings

This commit is contained in:
Camden Dixie O'Brien 2023-10-15 14:59:02 +01:00
parent 37c911fa60
commit eecd8f6dc9
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,7 @@
-- Solution --------------------------------------------------------------------
function leap_year(year)
-- Your solution here
-- Your implementation here
end
-- Tests -----------------------------------------------------------------------

View File

@ -1,3 +1,5 @@
-- Solution --------------------------------------------------------------------
-- Give the colours whatever values are convenient
black = undefined
brown = undefined
@ -13,7 +15,7 @@ gold = undefined
silver = undefined
function decode_resistance(colours)
-- Your solution here
-- Your implementation here
end
-- Tests -----------------------------------------------------------------------

View File

@ -1,5 +1,7 @@
-- Solution --------------------------------------------------------------------
function hamming_distance(str1, str2)
-- Your solution here
-- Your implementation here
end
-- Tests -----------------------------------------------------------------------