I'm trying to check the condition of the list items. If any item is less than 100, it shall be 100.
value = [50, 100, 200, 300, 400]
for item in value:
if item < 100:
item = 100
But it does not work as I hope. My desired outcome is value = [100, 100, 200, 300, 400]