A community for students.
Here's the question you clicked on:
 0 viewing
SarahBentley
 2 years ago
Is it just me or is there a huge leap in difficulty between problem set 0 and 1!
I completed the #0 and I wrote the program to calculate the first month of the credit card payment but i don't know how to create the loop for months 112. I have looked at the solution provided but i am worried that i have missed out on some reading or something as i don't know how i was supposed to know this. I have listened to lectures 1 and 2 and recitation 1.
Any guidance is appreciated.
SarahBentley
 2 years ago
Is it just me or is there a huge leap in difficulty between problem set 0 and 1! I completed the #0 and I wrote the program to calculate the first month of the credit card payment but i don't know how to create the loop for months 112. I have looked at the solution provided but i am worried that i have missed out on some reading or something as i don't know how i was supposed to know this. I have listened to lectures 1 and 2 and recitation 1. Any guidance is appreciated.

This Question is Closed

RoamingBlue
 2 years ago
Best ResponseYou've already chosen the best response.1@SarahBentley Problem set 1 isn't actually due until Lecture 4. (so it's not due until after lectures 1, 2, AND 3). Take a look at lecture 3, you didn't miss anything you just have one more lecture to get under your belt before that assignment's due. (while and for loops are covered in lecture 3)

mkinnes
 2 years ago
Best ResponseYou've already chosen the best response.0Yes there is a big leap. Starting out with any type of programming can at first appear overwhleming. To start at the expectation level of someone at MIT, if you're not at that level (like me), can be tough. It can also be a lot of fun. Remember: one of the truly great things about OCW is you have no pressure... learn at your own pace. You may need to get your math skills sharpened. You may need to learn the basic logic sequences in depth a bit more. You may need to understand syntax and how python uses identation for decision making .... whatever it is don't sweat it.

jessejayne
 2 years ago
Best ResponseYou've already chosen the best response.0And don't feel bad about asking questions! Goodness knows I have asked a few. From what I have seen everyone here is very helpful and nice. :)

Sfaleman
 2 years ago
Best ResponseYou've already chosen the best response.0What is happening is that your program is only being executed once. To repeat every month use WHILE instead of IF to create the loop
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.