We can also compare two strings and obtain the result in the form of
Somecare has to be taken while comparing strings. Python is case sensitive, so lowercase and uppercase letter comparison will result in False output. Whitespaces are also considered while comparing.
In the below example we have compared the strings