The problem with the code is that the code run once only for i=0 .It is not repeating for next index.Why?
list1=['shukla928','kavita_patel7']
list2=['7379561059','kavitapatel9ptl']
for i in range(0,1):
session=InstaPy(username=list1[i],password=list2[i],headless_browser=True)
session.login()
session.set_relationship_bounds(enabled=True, max_followers=500)
session.set_do_follow(enabled=True, percentage=100, times=2)
session.follow_by_list(followlist=['pankaj_patel63'], times=2, sleep_delay=60, interact=False)
# session.end()```