Does anyone know how to use the solutions to the credit card problem (Set 1)? I enter data but the program keeps closing.
How are you running it? As I recall, there are two credit card problems... one was to see how fast it would pay off with a certain payment and the other was to see what payment would be needed to pay down in a certain time frame.
Not sure I understand the question. Before I started working on set (1) - 3 sets of credit card problems - I checked to see if the solution exists. They direct you to Lesson 4 where there is a zip folder with 3 python files. When you open any of them they prompt you with 3 questions about the details of the credit card problem, and then it runs a few numbers and shuts down. I was expecting to see the actual code there.
Don't double click on the .py file; open it using IDLE by going to File -> Open, and opening the .py solution file.
I agree with min. You seem to be running rather than editing the code.
Thanks. That worked!
Join our real-time social learning platform and learn together with your friends!