import requests
def parse(list, poffsetids):
posts = []
for i in list:
posts.insert(i, requests.get('https://api.vk.com/method/wall.get', params={'owner_id': list[i - 1], 'offset': poffsetids[i - 1]}))
return posts
print(parse([-61969218, -87156278, -43528947],[54, 56, 76]))
IndexError: list index out of range