Converting a dictionary into a list
<p>Example:</p>

<pre><code>something = {
    "1": {
        "2": {
            "3": {
                "4": {},
                "5": {},
                "7": {},
                },
            "8": {
                "9": {},
                "10": {}
            },
            "11": {
                "12": {
                    "13": {
                        "14": {
                            "15": {
                                "16": {
                                    "17": {
                                        "18": {}
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
</code></pre>

<p>I'm trying to convert this dictionary in to a list of items like this:</p>

<pre><code>['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18']
</code></pre>

<p>What method should I use?</p>

<p>I already tried something.items(), but what I got back was:</p>

<pre><code>[('1', {'2': {'11': {'12': {'13': {'14': {'15': {'16': {'17': {'18': {}}}}}}}}, '8': {'9': {}, '10': {}}, '3': {'5': {}, '4': {}, '7': {}}}})]
</code></pre>

<p>This is my first time posting here, so if I did anything wrong please let me know.</p>

<p>Thank you and sorry for the weird post.</p>
