FAILING HW4 FOR OPENING THE FILE WITH W+

1
1980480 (3640 points)
1 2 4
asked Nov 26, 2021 in HW4 by 1980480 (3,640 points)
closed Nov 26, 2021 by andrea.sterbini
Hello everybody, I have a BIG issue.

Some of the HWs 4 ( including mine ) have failed because we used w+ for file opening. However this was NOT specified anywhere in the HW file/Q2A post.

If I had known about this forbiddden way of opening files, I would have used simply the "w" mode.

p.s. When I uploaded my HW4 on q2a every test was passed, and now, AFTER the secret tests, None of them passed, simply because of this error ( again, which was not specified ).

Here are the other ID numbers that had the same issue:

1991472  r+
2005657  w+
1985908 w+
1988754 w+
2006057 w+
1983203 w+
1980480 w+ ( my personal ID )

I hope that this is the real issue and not something else that I didn't notice. Thank You.
327 views
closed with note: tested

1 Answer

andrea.sterbini (172340 points)
510 927 1776
answered Nov 26, 2021 by andrea.sterbini (172,340 points)
I'll re run tests, no worries
g
gio0628sato (960 points)
2 4 9
commented Nov 28, 2021 by gio0628sato (960 points)
edited Nov 28, 2021 by gio0628sato
I was really wondering why it didn’t pass because when I tested the files one by one on my computer I didn’t have problems.

Anyway It is really helpful thank you so much.