# This is a sample Python script to get stock quotes

import yfinance

print("Stock quote getter in Python")

stocklist = ['TSLA','ABI.BR','ASML.AS','NOKIA.PA','GOOGL.MI','GSK.L']

for stock in stocklist:
    stockdata = yfinance.Ticker(stock)
    print(f"\n{stockdata.ticker} = {stockdata.info['shortName']}")
    print(f"Stock price = {stockdata.info['previousClose']} {stockdata.info['currency']}")

789514620cf4c83b25edc886b1591dcc73285b14
<mask token>

<mask token>
print('Stock quote getter in Python')
<mask token>
for stock in stocklist:
    stockdata = yfinance.Ticker(stock)
    print(f"\n{stockdata.ticker} = {stockdata.info['shortName']}")
    print(
        f"Stock price = {stockdata.info['previousClose']} {stockdata.info['currency']}"
        )

<mask token>
print('Stock quote getter in Python')
stocklist = ['TSLA', 'ABI.BR', 'ASML.AS', 'NOKIA.PA', 'GOOGL.MI', 'GSK.L']
for stock in stocklist:
    stockdata = yfinance.Ticker(stock)
    print(f"\n{stockdata.ticker} = {stockdata.info['shortName']}")
    print(
        f"Stock price = {stockdata.info['previousClose']} {stockdata.info['currency']}"
        )

import yfinance
print('Stock quote getter in Python')
stocklist = ['TSLA', 'ABI.BR', 'ASML.AS', 'NOKIA.PA', 'GOOGL.MI', 'GSK.L']
for stock in stocklist:
    stockdata = yfinance.Ticker(stock)
    print(f"\n{stockdata.ticker} = {stockdata.info['shortName']}")
    print(
        f"Stock price = {stockdata.info['previousClose']} {stockdata.info['currency']}"
        )

# This is a sample Python script to get stock quotes

import yfinance

print("Stock quote getter in Python")

stocklist = ['TSLA','ABI.BR','ASML.AS','NOKIA.PA','GOOGL.MI','GSK.L']

for stock in stocklist:
    stockdata = yfinance.Ticker(stock)
    print(f"\n{stockdata.ticker} = {stockdata.info['shortName']}")
    print(f"Stock price = {stockdata.info['previousClose']} {stockdata.info['currency']}")
