Why might the Brazilian government like this system?

In a flexible-exchange-rate system, a country such as Brazil that has a persistently high inflation rate will experience regular depreciation of its nominal exchange rate with the U.S. dollar. Explain why this happens. Why might the Brazilian government like this system?