Single query to set multiple tags

This small script query’s a stored procedure, and sets a flag. I want to run this query on tags ST15:1 through ST15:26. For some reason my brain is failing me today…

I Tried a for x in range (1,26) but I cannot figure out how to put x in the tag path. Can someone point me in the right direction? Thanks

scanRead =“AHSK_Conveyor/ST15/ST15:5”).value
call = system.db.createSProcCall(“spWorkOrderHTapeFlag”,“JDEX”)
call.registerInParam(1, system.db.VARCHAR, scanRead)

Write tag results to HTape Tag###

tapeValue = call.getReturnValue()

for x in range (1,26): scanRead ="_AHSK_Conveyor_/ST15/ST15:" + str(x)).value

You should probably use range(1,27) to be sure.