Solution:
If I understand correctly, you are having the String formatting issue. Correct me if I am wrong. It is hard to get the problem and provide a solution without seeing the code snippet. Please attach the code snippet with your question from your next post. As per my understanding, the right way formatting a string in python3 is:
print("Hello {}, your balance is {}.".format("Adam", 230.2346))
And as long as the whole program is concerned you don’t need to use string formatting in your codes. You can try this:
first_name = input("\nEnter the frist name")
second_name = input("\nEnter the second name")
if len(first_name) == len(second_name):
if first_name == second_name:
print("\nSame name")
else:
print("Not the same name")
Good luck!