I am new to coding in Python and ran into an issue. I have a list of domain names that I would like to get whois lookup information of. I am using a for look to get whois information on every domain in the list called domain_name like this:
for i in domain_name:
print(whois.whois(i))
I am getting the results printed just fine. But I would like to save those results in a variable that I can make a list of dataframe out of. How do I go about doing that?
thank you!