I have a list that's is enumerated and I wish to use modular arithmetic on each number, but not the enumerated numbers. How do I do this? This question regards only list modular arithmetic not a simple operation.
How do I mod 121 each of these numbers in the list (236, 242, 248) all at once?
lst1 = [22, 236, 23, 242, 24, 248]
print(mod 121 lst1)