how to do a left,right and mid of array in python? :     get_link = []
    for a in soup.find_all('a', href=True):
        if a.get_text(strip=True):
         get_link .append(a['href'])

Following codes append all the link in array "get_link". I am using beautifulsoup.

Output of get_link:

    ['index.html?country=2',
     'index.html?country=25',
     'index.html?country=1',
     'index.html?country=6',
     'index.html?country=2']

Below is my desiger output.

    [country=2',
     country=25',
     country=1',
     country=6',
     country=2']

