Compare two Strings in python
python program to get two strings and check whether both are equal
s1=input("Enter first String:")
s2=input("Enter first String:")
for i in range(0,len(s1)):
if the length of two strings are not equal then strings are not equal else,
visit each location of in strings and compare the characters in s1 and s2.
if all the characters are s1 and s2 are equal then the strings are equal else not equal.