I arrived with a solution myself just when I posted the problem. I manufactured a string variable where by I kept adding strings to with a comma and once the loop did its last operate, I manufactured an if assertion to not add a comma to my variable (where by https://gujaratvibes.com