How to create loop with .digits?

i know this is super basic but i dont know how to write it.

i have a replicator and i want to make a loop that goes through all my copies of my main container and then do something like desactivate my other containers, i dont think in this case i should use range, right? its more about the parent digits?

but i dont know how to :confused:

thanks in advance!!

If your OPs are named “oper0”, “oper1”, “oper2” etc. Also, “deactivate” is a made-up function. Do whatever you need.

for i in range(whatever):
    operator = op("oper" + str(i))
    operator.deactivate()