Question: plz fix code and have it print the desired outcome code i sbelow plz explain what and how you did it thank you import requests

plz fix code and have it print the desired outcome code i sbelow plz explain what and how you did it thank you import requests
def GetStockstocksymbol:
apikKey IFIHDMPXAGDM
url fhttps:wwwalphavantage.coqueryfunctionGLOBALQUOTE&symbolstocksymbol&apikeyapikKey
httpresponse requests.geturl
json httpresponse.json
# TODO create a dictiory from the json response and print it out.
# Things we need
# stocksymbol
# shouldbuy if the price is higher than the close price
# price
# high
# low
infodictionary
"stocksymbol": stocksymbol,
"shouldbuy": shouldbuy,
"price": price,
"high": high,
"low": low
print infodictionary
GetStockibm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!