In python programming if you use if or else statement you have to do like
if your condition :
so you should have written like:
If YourStr = MySrt:
And the error you are having beacuse you have put a single = in your code but for your comparison you should have to :
If YourStr == MyStr:
And you should have written your code like;
YourStr = "one"
MyStr = "one"
if YourStr == MyStr:
print("Two strings are same")
print("Two strings are not same")
And you can use
for your case sensitive issue