i have a list index of range eror : This code work for the first line in the document but fail in the second trial , and i don't know why . i tied to see in similar question but i don't found solution
```
carac=":"
fichier = open("test", "r")
for i in range(2):
    time.sleep(0.5)
    
    chaine = fichier.readline().split(carac)
    print(chaine[0])

    driver = webdriver.Chrome(r'C:\Users\bh\Downloads\chromedriver')
    driver.get('https://www.twitter.com/login')
    username_box = driver.find_element_by_class_name('js-username-field')
    username_box.send_keys(chaine[0])
    password_box = driver.find_element_by_class_name('js-password-field')
    password_box.send_keys(chaine[1])
```
i have this error
```
Traceback (most recent call last):
  File "C:/Users/Hicham/PycharmProjects/test/twitter-retweet.py", line 199, in <module>
    password_box.send_keys(chaine[1])
IndexError: list index out of range
```
