[Solved] : Question 125583

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 

Expert Answer

Answer to : Question 125583

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?