get_predictions()
is in fact your get_predictions_each_year()
Do you have another function called just
get_predictions()
?can you show the signature for
get_predictions_each_year()
?in your code you have 2 params that look like
year
and 12
(months?) so I have these 2 as you can see year
and 12
Note that you have an extra s on line 5 you have
predictions
, it should be single - prediction
otherwise you will override the dict
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs