I\'m trying to create a program and one thing I\'m trying to do is add variables to a string like so.
EnemyHealth = 0 EnemyIs = \'dead\' print(\"The Enem
The format specifier for a string object is %s. So your code should be:
%s
EnemyHealth = 0 EnemyIs = 'dead' print("The Enemy's health is %d. The Enemy is %s." % (EnemyHealth,EnemyIs))