Bug in Test Case for 10. Censor


#1

This is just a heads up that there is a bug in the test cases for 10. Censor, https://www.codecademy.com/courses/python-intermediate-en-rCQKw/1/4?curriculum_id=4f89dab3d788890003000096.

In the instructions it says:
01. Assume your input strings won't contain punctuation or upper case letters.

However, one of the test cases is the following, which clearly has upper case letters in it.

censor("Yo go fro yo go","go")

Please be aware of this when writing your solution. As in, don't bother changing the inputs to lowercase since you will fail the test cases.


#2

Hi @creepyed,

Thanks for noticing that.

... not sure why they did it that way.

EDITED (November 12, 2016) to add ...

Yes, leave the strings in their original case.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.