def add_item(val, target=[]): target.append(val) return target… — Python | Тесты для программистов — TG.ME