Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 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 1-12. 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
  1. RoamingBlue
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 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)

  2. mkinnes
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Yes 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.

  3. jessejayne
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    And 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. :)

  4. Sfaleman
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    What is happening is that your program is only being executed once. To repeat every month use WHILE instead of IF to create the loop

  5. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find 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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.