15
DoNutDoDys
2 8 17
1137/ 1195
Last seen 5 months ago
Member for 1 year, 5 months, 20 days
Difficulty Easy
Best reviews / Newest reviews
First-DoNutDoDys
can someone explain me why this code works when I use items.sort and sorted(items)? When I delete sorted from (items) checkIo gives me Fail? Now it works. def move_zeros(items: list[int]) -> Iterable[int]: items.sort(key = abs) for a in sorted(items): if a == 0: ite More