import keyword
keywords = (keyword.kwlist)
user_String = input("enter a string: ")
answer = (user_String == keywords)
print ("it is " + str(answer) + " that the string '" + user_String + "' is a
keyword.")
I'm trying to write a program that asks the user for a string and tests whether it is a keyword. But the trouble I'm having is even if I enter a valid keyword it still prints False