I am trying to enter the following list lines in the url line below. When I do the following:
tickers = ['AAPL','YHOO','TSLA','NVDA'] url = 'http://www.zacks.com/stock/quote/{}'.format(tickers)`
Python returns
http://www.zacks.com/stock/quote/['AAPL', 'YHOO', 'TSLA', 'NVDA']`
Instead, I would like to iterate through the list and return the following:
http://www.zacks.com/stock/quote/AAPL http://www.zacks.com/stock/quote/YHOO http://www.zacks.com/stock/quote/TSLA http://www.zacks.com/stock/quote/NVDA
Thanks.
source share