Question: Easy PYTHON question Looking at the following code, what would you add to the right of the equal sign in the body of the code
Easy PYTHON question
Looking at the following code, what would you add to the right of the equal sign in the body of the code

So you get the following output

import requests url- "https://queryl .finance.yahoo.com/v7/finance /download/GOOG ?period1-1492214478&period2-1523750478&interval=1d&events2h?story&crumb=N35dF29nN11" response- requests.post (url) # print dir(response) data - response.text.strip().split("In) for index, value in enumerate(data): if index > e; # doesn't show yeader (Date, 0pen, High, Low, Close, Volume, Adj Close) row value, split(",") # separating it by commas # Date is index of # Open index of 1 # High is index of 2 # etc # use the variablerow, which is now alist' to write # what each value is equal to # fill out the right side of the equal sign date openprice - highprice lowprice closeprice volume # notice we are cutting out adjusted close print "date-( open- high- lo- close( voluef" .format (date, openprice, highprice, lowprice, closeprice, volume) import requests url- "https://queryl .finance.yahoo.com/v7/finance /download/GOOG ?period1-1492214478&period2-1523750478&interval=1d&events2h?story&crumb=N35dF29nN11" response- requests.post (url) # print dir(response) data - response.text.strip().split("In) for index, value in enumerate(data): if index > e; # doesn't show yeader (Date, 0pen, High, Low, Close, Volume, Adj Close) row value, split(",") # separating it by commas # Date is index of # Open index of 1 # High is index of 2 # etc # use the variablerow, which is now alist' to write # what each value is equal to # fill out the right side of the equal sign date openprice - highprice lowprice closeprice volume # notice we are cutting out adjusted close print "date-( open- high- lo- close( voluef" .format (date, openprice, highprice, lowprice, closeprice, volume)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
