I have tried over and over again in order to get my code to work, but it just hasn't.
ename = "Blue Slime"
ehp = 5
edf = 0
eatk = 1
print ("A % has appeared!") % ('ename')
print ("Enemy Stats:")
print ("HP = %") % ('ehp')
print ("DF = %") % ('edf')
print ("ATK = %") % ('eatk')
When I run it, the program says
ValueError: unsupported format character 'a' (0x61) at index 5
I can't figure out what the issue is, and I would like some help with what I should change.
%snot just %