Python · Exception Handling
What does this print? lst = [7, 1, 3, 5, -12] assert min(lst) == -12 assert sum(lst) == 0, "sum is broken"
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
Free to start — download the app or use it in your browser.