I need help on Problem Assignment 1. I can't figure out how to update all the variables to the new ones after the math is done.
variable = variable + something
I already have that. While month <= 12 is the loop, and the decrementing function is month+= 1.
This is the code.
Please ignore the return function before the printing, i didn't realize that it was there. I was just testing random things to see if they worked.
For all of you who tried to help me, I thank you. I'm sorry if you have stared at this screen for a little while for nothing, but i have kind of figured it out. I got the math down, but I need to know hot to make it only two decimal places and not ten or so.
Recommended you read: https://assignment.essayshark.com/blog/an-easy-way-to-get-computer-science-assignment-help/ If you want to know how it looks like just click here: http://en.calameo.com/read/0046404049be7ae31cbe7
Thanks for your help, it worked finally. :)
Join our real-time social learning platform and learn together with your friends!