Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

JustinHinderliter

  • one year ago

Is it bad that I had absolutely no idea how to do ps1, problem 2? I understood and completed problem 1 fairly quickly but problem 2 really had me stumped (until I looked at the source code). I now understand how it works, but I would never have figured it out otherwise.

  • This Question is Closed
  1. bwCA
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    which course? 2008, 2011sc?? did you understand the lectures? did you read all the readings? did you try and play around with the examples given in the lectures and the readings? have you been thru the Tutorial in the Python docs? what gave you a problem? the code required to implement a solution? or figuring out a solution? sometimes it helps to write ideas down on paper.

  2. JustinHinderliter
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I did 2011sc (for no particular reason whatsoever). I've just finished lecture 4 and recitation 2, and fully comprehend everything I've learned thus far, with a little help from other website tutorials. I always have my editor and IDE open during the lectures and mimic what they do. I suppose my issue with ps1-p2 was figuring out a solution. I did all the math on paper and got the same numbers. My problem was transferring my idea on paper to code. Perhaps I need more time reading tutorials from other sources to get different examples.

  3. JustinHinderliter
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I guess I have an issue with taking the examples given in lecture, and applying them to real life scenarios/programs.

  4. bwCA
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    those two problems are about flow control - you probably just need to be patient as you learn more of the language, it will be able to see how to implement a solution. The course focuses more on teaching computer science topics than teaching Python. You need to become very familiar with the Python documentation - the Tutorial is a good place to start and the docs for all of the built-in functions - here are the online version (i like the version installed on my computer better) http://docs.python.org/2.7/tutorial/index.html http://docs.python.org/2.7/library/functions.html all of the 'textbooks' on the references page are good: the 2008 course used "How To Think Like a Computer Scientist" - i liked it. I've also used Dive Into Python and like it. I constantly post links to "Code Like a Pythonista: Idiomatic Python" in this forum - it's up on the tab next to this one as i speak.

  5. JustinHinderliter
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thank you so much for pointing me in the right direction! I've bookmarked a few sites and will continue to study. I've also found a command line tutorial that helped with learning to use Python with my command prompt instead of the IDE included with Python. Again, thank you bwCA!

  6. bwCA
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Learn Python the Hard Way? also good

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