Skip to main content
1 vote

Vanity plates Regex problem

The problem here is that regex which I gave you will not match if the input is all letters. You would need to make the regex more complicated for that, I had given it to you assuming you were ...
UpAndAdam's user avatar
  • 1,681
1 vote
Accepted

CS50 Vanity plates

Second Update from your Comments For punctuation you can simplify to a single python function def punctuation(s): # returns true is s is all alpha-numeric characters return s.isalnum() Or we ...
UpAndAdam's user avatar
  • 1,681

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