Berlin123 Jun 25th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. del ab['Spammer']
  2. print('\nВ адресной книге {0} контактов\n'.format(len(ab)))
  3. for name, address in ab.items():
  4. print('Контакт {0} с адресом {1}'.format(name, address))
  5. # Добавление пары ключ-значение
  6. ab['Guido'] = ''
  7. if 'Guido' in ab:
  8. print("\nАдрес Guido:", ab['Guido'])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand