rates = []
i = 0
for currency in tree.findall('currency'):
rates.append([i])
rates[i]['valuta'] = currency.find('title_alias').text
valuta = currency.find('rates')
# rates[i]['buy'] = valuta.find('buy_rate')
# rates['sell'] = valuta.find('sell_rate').text
i += 1