Compare commits

..

No commits in common. "98d0fcdebb27f48bc827c5f083a990495d89228c" and "ad692ac5b868a36e473d0d8206d79a17b6b87d5f" have entirely different histories.

2 changed files with 0 additions and 8 deletions

View File

@ -1 +0,0 @@

View File

@ -1,7 +0,0 @@
def ll_insert(head, name, phone):
""" проходит до конца (или сразу добавляет в конец) и возвращает новую голову
(если вставка в начало) или изменяет список по ссылке. Удобнее возвращать новую
голову, если вставка может быть в начало """
new_node = {'name': name, 'phone': phone, 'next': None}