Closed curiouskiwi closed 5 years ago
@brianyu28 we had no substring checks that had non-alpha chars and I've seen students code that didn't handle this properly.
Good idea, thanks! The current checks we use for check50 are actually now located in the cs50/problems repo, rather than cs50/checks, so could you instead update the below two?
https://github.com/cs50/problems/blob/2019/x/similarities/__init__.py https://github.com/cs50/problems/blob/2019/ap/similarities/__init__.py
The syntax is slightly different, but should be pretty similar.
Added a non_alpha character test for substrings