Please update the text to remove the grammatical errors:
In some countries, nuclear energy plays an important role in power in power production.
In some countries, nuclear energy plays an important role in power production.