2 решения с CyberForum.ru:
1 решение с вводом:
print(''.join(i for i in list(map(lambda x: (chr(int(x) + 97)) if x.isdigit() else x, input()))))
2 решение с текстом:
txt = ‘'’
The United Kingdom of Great Britain and Northern Ireland,
more commonly referred to as the United Kingdom or the UK,
is a unitary state consisting of England, Scotland, Wales and Northern Ireland.
There are also three Crown Dependencies in nearby waters,
and 14 Overseas Territories across the globe. During the 18th and 19th centuries,
the United Kingdom was the world’s foremost superpower,
with roughly a quarter of the world’s landmass and population under the dominion of the British Empire.
Throughout the 20th century, the British Empire gradually dissolved, and countries such as Germany,
the U.S., and USSR gained more international influence;
however, the UK remains one of the world’s leading economies,
with considerable political, cultural, and technological influence.
Since 2016, Brexit, i.e. the UK’s withdrawal from the European Union,
has been the most influential factor in the UK’s foreign policy,
and adaptation to life outside of the EU has had a significant impact domestically.
Thus far, most consider the economic and bureaucratic fallout of Brexit to have been overwhelmingly negative,
it has put strain on the UK’s political relationship with the European trading bloc,
and trade barriers have resulted in shortages or price hikes for certain goods and services.
Nonetheless, the UK will have a higher level of economic autonomy going forward,
and it remains to be seen whether any long-term benefits will outweigh the obstacles and challenges that the UK has faced until now.
'''
lst = ''
for i in txt:
if i.isdigit():
lst +
chr(int(i)+65))
else:
lst += i
print(lst)