Compare two strings : String Compare « String « Python






Compare two strings

guess = "a"
correct = "b"
if guess == correct:
    print "That's it!\n"


           
       

Related examples in the same category