Programming does not always happen smoothly, sometimes a lot of patience, devotion and perseverance are required to solve programming problems and stumbling blocks on your way of creating a new programming solution.While developing an application you might come across a number of programming questions the answers to which are not easy to be found. To spare yourself the trouble, submit your programming questions here and you will get programming answers within the shortest time period.
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
okay('bVc3i') should return True
okay('Ad89vv') should return False
1: write prolog program to search book by book_title ,by book_author, by book_edition Using
Hint: your input must be from above mentions, your rule must recursively find the book and
display the complete book information as provided in facts.
write(\"Enter book author name : \"),
Give an example of a class and an example of an object. Describe what a class is, what an object is, and how they are related. Use your examples to illustrate the descriptions