![]() |
|
|
|
#1
|
|||
|
Did they teach you how to define and use variables? How to accept input and generate output?
More importantly are you familiar with integer math on a computer and the concept of modulus? It's one thing to get a code snippet from some guy on a forum and it's another thing to understand what is happening here. I certainly hope you have received more instruction than just that one silly example program. Have you tried to just do it yourself? Where are you running into problems?
__________________
Jack <Yael Graduates> - Server First Erudite
Bush <Toxic> Jeremy <TMO> - Patron Saint of Blue | ||
|
|
|||
|
#2
|
|||
|
If loops haven't been taught yet, that code mentioned in post #2 won't work or at least will raise a question on whether you did it yourself or not.
If the instructer went over flowcharting, definitely do that. It helps. | ||
|
Last edited by moklianne; 04-22-2011 at 10:27 AM..
|
|
||
|
#3
|
|||
|
IDK aboutyou but I love paying for classes that teach me bad habits like copypasta'ing something 9x
| ||
|
|
|||
|
#4
|
|||
|
I'm confused, it's near the end of the semester and this is the problem you are getting? If it is, complain to your school for having a shit program. If it's not, and you are just starting a class, do yourself a favor and figure it out yourself. It's going to be a long class if you can't write that shit down on paper perfectly in less than an hour.
| ||
|
|
|||
|
#5
|
|||
|
Also looking at the way the teacher has given examples of how to do this, I bet you if you try to complicate this up in more efficient ways, hes going to fail you "Not demonstrating what you've learned" which is basically another way of saying you're smarter than him.
__________________
| ||
|
|
|||
|
#6
|
||||
|
Quote:
| |||
|
|
||||
|
#7
|
||||
|
Quote:
If you aren't sure whether the professor will accept your more advanced version, you need to discuss it with him. Otherwise, man up and don't complain. Most professors are pretty understanding. However, don't expect much leniency if the entire class does something one way and you do it another way and lose credit. That shit is a pain in the ass to grade. | |||
|
|
||||
|
#8
|
|||
|
Being creative isn't really encouraged in college. They are not there to teach you to think, they are there to hone your memory recall and information retention / regurgitation skills. So whatever a teaching assistant (or if you're lucky, a professor) crams down your throat is what they want handed back to them.
__________________
❤ Z A R A H ❤
| ||
|
|
|||
|
#9
|
|||
|
O I wasn't complaining, by the end I was doing random ass spaghetti (which is really hard to do in python) just to piss him off. I won the passive-aggressive rage war we had.
| ||
|
|
|||
|
#10
|
|||
|
Thanks everyone for your feedback!
It's an intro to computer science class (I took it in place of a science class). My teacher definitely would probably become suspicious if I used more advanced /efficient ways to solve the problem, so that is definitely not an option, but I think I can get by doing what he considers "correct". I like what you did Ihealyou, and that makes more sense to me, so I might run with that. Again, thanks for everyone's feedback/advice. Sorry to post homework questions on a P1999 site [You must be logged in to view images. Log in or Register.] | ||
|
|
|||
![]() |
|
|