Talk:Solve hanging lantern problem: Difference between revisions

m
mNo edit summary
Line 6:
-- [[User:Markjreed|Markjreed]] ([[User talk:Markjreed|talk]]) 21:24, 22 May 2022 (UTC)
 
: Ah, that case I did not consider. Fixed by making the numbers in the columns different with duplicate length columns. -- [[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 22:17, 22 May 2022 (UTC)
 
--[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 22:17, 22 May 2022 (UTC)
:: Hm. My solution was just to use the index of the column instead of its value as the number to repeat (<tt>[fill(i,m) for (i, m) in enumerate(inputs)]</tt>. Not sure I understand what your new solution is doing instead. -- [[User:Markjreed|Markjreed]] ([[User talk:Markjreed|talk]]) 22:24, 22 May 2022 (UTC)
1,480

edits