Ask your own question, for FREE!
Computer Science 24 Online
OpenStudy (anonymous):

Hi guys i am in desperate need of help on this assignment that i am working on if anyone could please explain me what is going on it would be highly appreciated i just dont know what its asking me i am going to be posting a link below thank you

OpenStudy (rsmith6559):

First read the Principles and Advice sections of the assignment. Download the a1.py that they give you and look it over. Then read through the assignment again. This time, make notes about what you're given and what you need to do. Start sketching out a solution. Gradually work down from a high level description of the steps to a more detailed description. If you keep iterating like this, eventually you'll get to the function and then the individual Python statements. This is problem decomposition. Feel free to post more questions if you need to. Specific questions are easier for us to help with because we get chastised for directly giving you the answers.

OpenStudy (anonymous):

Not only chastised, but I for one feel dirty about it. Just a hint for testing stuff...add this line near the top of the a1.py code: f = open('acadian.knf','r').read() #or whatever file you want Now you can test each of the functions right from that file by sending f into the functions you're writing. The test file they provide is unwieldy and won't run as is until most of the functions are written. You're going to want to test each function before you move onto the next one. I'd start with the get_tags() and get_chart() function, since they don't rely on anything else and other functions *will* rely on them.

OpenStudy (anonymous):

soory what's that

OpenStudy (anonymous):

Also, string.find(element) is going to come in very handy. I hope they've taught it in your class.

OpenStudy (anonymous):

hmm you guys are amazing thanks a lot for the first step i shall tackle this assignment tomm night i have a midterm tomm night for this course

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!