Write a function okay(p:str)->bool:
The p string must
1) contains at least one of lowercase(a-z )
2) minimum length=5
3) No character or digit can appear twice consecutively
For example:
okay('bVc3i') should return True
okay('Ad89vv') should return False
Comments
Leave a comment