It's not good do it like this,and also easy to make mistake as you discovered.
Use string formatting to.
>>> health = 100
>>> damage = 50
>>> ammo = 13
>>> print(f"STATS: HP:{health} DMG:{damage} AMMO:{ammo}")
STATS: HP:100 DMG:50 AMMO:13
>>> print(f"Damage is {damage:4} health is {health:16}")
Damage is 50 health is 100
>>> # f-strings support any Python expressions inside the curly braces
>>> name = 'f-string '
>>> print(f"My cool string is called {name.upper() * 3}")
My cool string is called F-STRING F-STRING F-STRING
>>> for word in 'f-strings are awesome'.split():
... print(f'{word.upper():~^20}')
~~~~~F-STRINGS~~~~~~
~~~~~~~~ARE~~~~~~~~~
~~~~~~AWESOME~~~~~~~