https://365datascience.com/dwqa-answer/answer-for-iterating-over-dictionary/ -
Hi Adnan!
Thanks for reaching out.
You just need to add the following line to the beginning of your phrase.
money_spent = 0
In this way, every time you run the loop, you will start from money_spent with a value of 0, and you will not add 24 every time you execute the code cell.
Hope this helps.
Best,
Martin
#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy
No comments:
Post a Comment