Jan-03-2022, 10:11 PM
(Jan-03-2022, 10:02 PM)BashBedlam Wrote: YourdisplayData
function references two dictionaries that are not in your "Main Code". They aredata
anddayweather
. You will need to provide those one way or another. Best would be to send them to your function as arguments. (in my opinion)
Would that be done like this?
def displayData(data,dayweather):