while True:
for i in range(len(listing_ids)):
response = requests.get(f'apiurl/{listing_ids[i]}/pr', cookies=cookies, headers=headers)
response = response.json()
print(response['jsonValue'])
break
I have an array currently as listing_ids and within this array has an undetermined count of values that I want to use within a request URL then price the response then loop back through until the the last value within the array was used. How can I format this? Currently it just infinitely loops with the 1st value ONLY