new here, quite noob but learning something every day. any help would be much appreciated

so i have 2 files and i am trying to read a list from another file in this way:

from 2ndpage import \*

main.py

```
listx = [ ["BMW", "True", "99"], 
          ["Honda", "False", "06"],
          ["Toyota", "True", "88 ]  ]

x = input("What car are you looking for? : ")
findthis(x)

```

2ndpage.py

```
from main import listx
def findthis(car):
    for row in listx:
        i=0
        if car in listx[i]:
            print(car)     # printing all the list that contains the car name
        else:
            i=+1

```

AttributeError: partially initialized module '2ndpage' has no attribute 'findthis' (most likely due to ## a circular import)
----------------------------------------------------------------------------------------------------------------------------

not sure how to make it work. the list has to be on the main page and to call the function on the main page as well. and the function def has to be on the second page.
any help would be much appreciated. thank you