Hi Danny,
Thank you for replying.. I need the python program which takes the attached csv & on running the program which will give me the results as ---------------------------- Data File data.csv 1, 4.00, burger 1, 8.00, tofu_log 2, 5.00, burger 2, 6.50, tofu_log Program Input program data.csv burger tofu_log Expected Output => 2, 11.5 --------------------------- ---------------------------- Data File data.csv 3, 4.00, chef_salad 3, 8.00, steak_salad_sandwich 4, 5.00, steak_salad_sandwich 4, 2.50, wine_spritzer Program Input program data.csv chef_salad wine_spritzer Expected Output => nil (or null or false or something to indicate that no matching restaurant could be found) --------------------------- ---------------------------- Data File data.csv 5, 4.00, extreme_fajita 5, 8.00, fancy_european_water 6, 5.00, fancy_european_water 6, 6.00, extreme_fajita, jalapeno_poppers, extra_salsa Program Input program data.csv fancy_european_water extreme_fajita Expected Output => 6, 11.0 On Tue, Apr 15, 2014 at 8:05 PM, Danny Yoo <d...@hashcollision.org> wrote: > So, what is your question? >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor