I am trying to compare an input string but when ever i enter barack as an input, the compiler directly goes to the else condition ignoring the the if condition and giving me the output "Wrong answer"
def main():
First_name = raw_input(" enter the first name of President Obama : ") #input
if First_name == ['b', 'a', 'r','a', 'c', 'k'] :
print "Correct answer"
else :
print "Wrong answer"
Exit_key = input('Press any key to end')