Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+5 votes

I got all checks right but it still says a 0/1 for the problem and has a red box around it.

asked in CSC201 Spring 2021 by (8 points)

1 Answer

+4 votes

I think the problem is whether you used the endswith(...) function or did you do if text1 in text 2... I faced the same problem. If you did the 'in', it might work but that doesn't necessarily mean its just checking the ending of the strings. That's why Moodle brings a hidden test error. So try again using endswith(...).

answered by (1.1k points)