fsds icon indicating copy to clipboard operation
fsds copied to clipboard

Slim "functional solution" causing confusion

Open hamishgibbs opened this issue 1 year ago • 0 comments

There has been some confusion about Practical 3 Section 1.2.3. Students have been making the functional solution more complicated than it needs to be.

At the moment, the function is just a print statement – so could do with a clarification about how this, or could add the indexing into the function body (def city_avg_temp(city, temperatures).

Link: https://github.com/jreades/fsds/blob/e4f26c57fbad5a79f0ba4bb0e01891efc1d402e3/practicals/Practical-03-Foundations_2.ipynb#L246-L267

hamishgibbs avatar Nov 09 '23 10:11 hamishgibbs