I am trying to add another programming language named "Lua" to Python and there is function named string.sub
But there is a problem :
it is my code :