a = raw_input('Enter first String')
b = raw_input('Enter second String')
l1 = len(a)
l2 = len(b)
if (l1==l2):
for i in range(l1):
if (a[i]==b[i]):
l1 = l1-1
if(l1==0):
print "Same"
else:
print "Different"
break
else:
print "Different"
Tuesday, December 26, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment