Here is the working code:
from urllib.request import urlretrieve 
import requests
import xlrd
import pandas as pd
WORKING CODE
icd9_link = "https://www.cob.cms.hhs.gov/Section111/assets/section111/Section111ValidICD9-2017.xlsx"
icd9_map= pd.read_excel(icd9_link, sheet_name=0, header=0)
NOT WORKING CODE
Define function which will name ICD_9_map_ and use correct link
fx =  icd"{0}"_map_= pd.read_excel(icd"{1}"_link,    sheet_name=0, header=0)
#
y = [9,10]
  for x in y:
   fx.format(x, x) 
 
    