j=input("Enter the first string")
b=input("Enter the second string")
if len(j)<len(b):
b+='c'*(len(b)-len(j))
if len(b)<len(j):
j+='c'*(len(b)-len(j))
If Vignesh tries this, the Python output terminal problem makes the short word equal to the length of the long word with a fixed letter, so they have the samelength