Eg: I would like to change both occurrences of elem to item in the below snippet as efficiently as possible. Before
for elem in arr: print(elem)
After
for item in arr: print(item)