Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grades Code":
#11
I'm not sure what I'm supposed to do in the second part of this problem?
I've been given a table with Test Data and been asked to create a new test case, then to debug it. (I've never done this before)
I'm not really sure how to compile and complete it?
Anthony.
Reply
#12
Is this a homework/school assignment?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#13
(Nov-23-2023, 02:54 AM)Anthony Wrote: I'm not sure what I'm supposed to do in the second part of this problem?
I've been given a table with Test Data and been asked to create a new test case, then to debug it. (I've never done this before)
I'm not really sure how to compile and complete it?

I'm not too sure myself. If this project is homework for a school/college assignment, then I've already given you much more than I should have done. If it's not, then you'll need to explain where this has come from. Either way, if you're unsure about how to proceed, it's not going to help you if we simply take a best guess at it and come up short.
Sig:
>>> import this

The UNIX philosophy: "Do one thing, and do it well."

"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse

"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
Reply
#14
(Nov-23-2023, 02:54 AM)Anthony Wrote: I'm not sure what I'm supposed to do in the second part of this problem?
I've been given a table with Test Data and been asked to create a new test case, then to debug it. (I've never done this before)
I'm not really sure how to compile and complete it?
Anthony.
Reply
#15
Just quoting yourself will not do. Your first post is cryptic enough - "what is wrong with this code?" (i.e. there was nothing wrong with the code - it worked, but was example of newbie code - bad patterns/repetitive code, lack of input validation and error handling, etc.

Now, it's even less clear - "I'm not sure what I'm supposed to do in the second part of this problem? I've been given a table with Test Data and been asked to create a new test case, then to debug it."

Without more info regarding this [seemingly homework] assignment nobody will help.

I'm now moving the thread to Homework section.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Calculate median for school grades per subject siki 1 1,945 May-10-2021, 11:41 AM
Last Post: jefsummers
  python program that calculat grades of students biligorm 3 2,257 Apr-04-2020, 10:11 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020