I want to add the word “atom” before the x,y, and z coordinates for each element for an input generator. I know this can be done manually in the text editor but I would like to automate the process and incorporate this into the python code. I am only a beginner in python, but how should I modify the output:
output += ‘$$coords:xyz_S$$’
in order to add a string “atom” before the coordinates?