We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eab6b3 commit 950ea9cCopy full SHA for 950ea9c
web_programming/current_stock_price.py
@@ -3,6 +3,16 @@
3
from bs4 import BeautifulSoup
4
from requests import get
5
6
+"""
7
+Get the HTML code of finance yahoo and select the current qsp-price
8
+Current AAPL stock price is 228.43
9
+Current AMZN stock price is 201.85
10
+Current IBM stock price is 210.30
11
+Current GOOG stock price is 177.86
12
+Current MSFT stock price is 414.82
13
+Current ORCL stock price is 188.87
14
15
+
16
17
def stock_price(symbol: str = "AAPL") -> str:
18
"""
0 commit comments