delete an item with key `key` from `mydict`,"try: