Talk:Set consolidation: Difference between revisions
Content added Content deleted
(→Why.: clarify?) |
(→Why.: Cool, a recursive version!) |
||
Line 22: | Line 22: | ||
print(conso([{1, 2}, set([]), set([])]))</lang> Is that what you want? --[[User:Ledrug|Ledrug]] 01:44, 8 May 2012 (UTC) |
print(conso([{1, 2}, set([]), set([])]))</lang> Is that what you want? --[[User:Ledrug|Ledrug]] 01:44, 8 May 2012 (UTC) |
||
:::: Cool a recursive version. Maybe you could add it as a second Python implementation? Maybe I need to add that you should return your input when asked to consolidate less than two sets; as you have done. --[[User:Paddy3118|Paddy3118]] 10:54, 8 May 2012 (UTC) |