#! /usr/bin/env python3

mydict = {}

# Legt ggf. das Key-Value-Paar neu an
mydict['hostname'] = "notebook14"
mydict['address'] = '192.168.1.214'
mydict['maker'] = 'Lenovo'
mydict['type'] = 'T530'
mydict['ramsize'] = 16
mydict['ssd'] = True

print(mydict)

value = mydict.pop('address')

print(mydict)

key, value = mydict.popitem()
print("Geloeschter Key:", key)

print(mydict)
