Hot answers tagged

2

This line token.lower() does not change token to lower case, it returns a copy of token in lower case. You can either set something to that return value (as with word = token.lower()) and then test for word in the arrays, or change the test(s) from if token in self.positives: to if token.lower() in self.positives:


2

If you need to submit your code to fix the style, be sure to run style50 and then use the 2018 submission instructions. submit50 cs50/2018/x/hello submit50 cs50/2018/x/mario/less


1

See this page: CS50.me in Progress section in Edx-CS50


1

this was a problem on the server side. it should be fixed right now.


Only top voted, non community-wiki answers of a minimum length are eligible