This prints separately, how am I gone make it print consecutively, like the link and then the identifier
elems = driver.find_elements_by_xpath("//tr//td//a[@href]")
identifiers = driver.find_elements_by_xpath("//tr//td//code[@property='x']")
for elem in elems:
href = elem.get_attribute("href")
print(href)
for identifier in identifiers:
print(identifier.text)