In this problem, I have data as:
number_list = {
'Room 1' : ['Washroom 1','Balcony 1'],
'Room 2' : ['Gallary 1'],
'Room 3' : ['Washroom 2'],
'Kitchen' : ['Store 1', 'Garden 1'],
'Garden' : ['Entrance'],
'Hall' : ['Store 2']
}
I got from for Room 1 where Washroom 1 and balcony is connected.
I want to make a code, where I want, these keys, which is: Room1, Room2, Room3, Kitchen, Garden, hall connected to each other randomly or using probability
How to do this?
Thanks