As it was fixed in C3ex2, the ex4 should add the ValueError() in the line7.
As it was fixed in C3ex2, the ex4 should add the ValueError() in the line7.