#!/usr/bin/env python
# coding: utf-8

# In[2]:


import numpy as np


# In[74]:


name={'Charles': [23.4, "Darwin"], 'Alan': [42.5, "Turing"], "Bill":[75,"Clinton"],'Richard':[15,"Williamson"]}


# In[75]:


for i in 'ABCDEFGHIJKLMNOPQRST':
    name[i] = [np.random.randint(1,100),i.lower()]


# In[76]:


n = len(name)
while n > 1: 
    i,j = np.random.choice(list(name.keys()),2)
    roll = np.random.choice(['head','tail'],1)
    if roll == 'head':
        name.pop(i)
    else: 
        name.pop(j)
    n = len(name)
name


# In[ ]:





# In[60]:





# In[64]:


j


# In[ ]:




