Dear Colin,
thanks for that
I just looked it up…
and found:
in the Instructions - of Mixed_Juices the concept of Comprehensions is missing!
that’s how I didn’t know anything about it.
and now my hints/errors:
-
(this is outdated because of what I just found out):
the solution of Task 1 is logical, but not foreseeable, because the effect of[] (Comprehension) in code is not explained before, is it? -
wrong dimension #
map(x -> 2x, 1:3)
4-element Vector{Int64}:
→ it should be
3-element Vector{Int64}:
- Task 3:
some typografical errors, eg
add_missing_stops(Dict("from" => "New York", "to" => "Miami"),
stop_1= > ..
- at stop1: Space at the wrong place
- missing „“ at stop1…5
→add_missing_stops(Dict("from" => "New York", "to" => "Miami"), "stop_1" => "Washington, DC", "stop_2" => "Charlotte", "stop_3" => "Atlanta", "stop_4" => "Jacksonville", "stop_5" => "Orlando")
- Task 4:
some typografical errors,
extend_route_information(Dict("from" => "Berlin", "to" => "Hamburg"), :length = "100", :speed = "50")
→
extend_route_information(Dict("from" => "Berlin", "to" => "Hamburg"), length = "100", speed = "50")
- And: please explain map() a bit further, give some more examples
Thanks
