by CodeChum Admin
Do you believe in doppelgangers? Well they are very much possible with strings! Check if the two given strings are the same or not.
Instructions:
Input
Two lines containing a string on each.
hello
hello
Output
The first line contains the two inputted strings separated by a \.
The second line contains a string result.
hello\hello
Equal
str1=input()
str2=input()
print(str1+"\\"+str2)
if str1==str2:
print("Equal")
else:
print("Not Equal")
Comments
Leave a comment