56
Hard Python Dictionary Exercise
(lemmy.nz)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Nice puzzle and tool. I picked the right answer but I wasn't overly confident.
You could list
{1: [100]}as another possible answer, if you assume:spoiler
b |= {...}is equivalent tob = b | {...}, but you also realise the lists are never deep-cloned.Thanks, maybe I should have added that possible answer instead of 'D', adding one more feels too many.