how naming file txt same with value in list dictionary python : for example I have list inside dictionary
{'results':[{'name':'sarah','age':'18'}]}
-----------------------------------------

I want make a text file but the of file must be value of dict 'name'
ex: sarah.txt

how should I code it in python?