I have the following list:
I want to replace its elements with integer values (e.g. ASCII values). e.g. aa = [97, 98, 99, 100, 101]
I can use 'for' loop to convert each element one by one. But can it be done in a better pythonic way?