Answers for "python string equals"

2

string equals python

str1 == str2
# return True if the strings are equals. Case sensitive !
str1 = "python"
str2 = "python"
str1 == str2 # True

str1 = "python"
str2 = "javascript"
str1 == str2 # False

str1 = "python"
str2 = "PYTHON"
str1 == str2 # False
Posted by: Guest on May-03-2021
0

python string equals

true = "eee" == "eee"
false = "eee" == "ppp"
Posted by: Guest on October-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language