py4e icon indicating copy to clipboard operation
py4e copied to clipboard

Assignment System Rejecting Correct Answer

Open queengiuly opened this issue 4 months ago • 1 comments

Hi Dr. Chuck team,

I'm working on the “Finding Numbers in a Haystack” assignment using my real student account. The data file assigned to me is:

https://py4e-data.dr-chuck.net/regex_sum_2251246.txt

I wrote the correct Python code, confirmed the logic, and the output is:

Sum: 304973

However, when I enter this into the assignment submission box, it keeps saying “Your sum did not match.” I’ve triple-checked the file URL, the code, and even verified it with external help.

Could you please check if there is a mismatch in the expected result for this file ID?

Thanks in advance, Giulia

queengiuly avatar Jul 27 '25 08:07 queengiuly

Please use the course discussion for assignment issues at https://www.coursera.org/learn/python-network-data/discussions/weeks/2, where the TAs can view the code. The name above doesn't match a submission name that I can find. When you post in the discussion, the posting name is the link to the submission. When I run my code from several years ago, I get a different total.

srcatto avatar Jul 29 '25 15:07 srcatto