【单选题】不重复访问网站,使用栈的程序from bs4 import BeautifulSoupimport urllib.requestclass Stack: def __init__(self): self.st=[] def pop(self): return self.st.pop() def push(self,obj): self.st.append(obj) def...
A.
urls.append(url); range(len(links),-1,-1)
B.
urls.append(url); range(len(links)-1,0,-1)
C.
urls.insert(url,0); range(len(links)-1,-1,-1)
D.
urls.append(url); range(len(links)-1,-1,-1)