I am trying to convert a loop for a list, but i'm getting the 'NoneType' object is not iterable' error.
assets = input("What assets you desire to analyze?v: ").upper().split(",")
for ticker in assets:
assets1 = print(ticker + ".SA")
When i print "assets1", i get a output like this:
PGMN3.SA
COGN3.SA
TASA4.SA
PCAR3.SA
PETZ3.SA
But i wish to make this loop as a list, to do a WebScraping after, but when put "assets1" for webscraping, i get the message error: 'NoneType' object is not iterable' How can i fix it? Thanks!