December 2015
Intermediate to advanced
400 pages
13h 3m
English
The printTable(_:) function has a bug – it crashes if any of the data items are longer than the label of their column. Try changing Joe’s age to 1000 to see this in action. Fix the bug. (For an easier version of this challenge, just make the function not crash. For a harder version, make sure all the rows and columns of the table are still aligned correctly.)
Read now
Unlock full access