Write a function good_string(p:str)->bool:
The p string must 1. contains one of lowercase(a-z) 2. contains one of uppercase(a-z)
3. contains one of digit(0-9) 4. min length=5 and max length=11 5) No character or digit can appear twice consecutively
For example:
good_string('bVc3@') should return True
good_string('Ad##9vv') should return False (# and v appear twice consecutively)
good_string('9$dkiOj@#45E') should return False (exceed max length)
1
Expert's answer
2020-07-07T07:31:04-0400
Dear Kelo, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment