Spacific Ocean
Chris   United States
 
 
Jelenleg offline
'_'
import yfinance as yf

# Get Tesla stock data
tsla = yf.Ticker("TSLA")

# Get the current stock price
current_price = tsla.info['regularMarketPrice']

print(f"The current price of Tesla (TSLA) stock is ${current_price:.2f}.")

Kedvenc játék
500 TP