This is your error line
Plus index out of range
if user == word[1] or word[3] or word[2]:should be:
if user == word[1] or user == word[3] or user == word[2]:
Plus index out of range