I am trying to run a simple piece of code in Python to try and put a text file into a list and get this error message:

> 
> TypeError: '<' not supported between instances of 'list' and 'int'
> 
> 
> 

This is the code:

```
def MAINLOOP ():
    import random
    listofkeywords = []
    attempts = 0
    complete = ([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])
    while complete < 30:
        question = random.randint(0,14)
        print(question)

MAINLOOP()
def IMPORTKEYWORDS():
    thekeywords = open("keywords.txt","r")
    listofkeywords == thekeywords

```