Mega Code Archive

 
Categories / Python / String
 

Compare two strings

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