Course Solutions Uncategorized (Solved) : 1 Implement Function Takes String Parameter Returns True String Contains Least One Letter Q26340731 . . . .

(Solved) : 1 Implement Function Takes String Parameter Returns True String Contains Least One Letter Q26340731 . . . .

 

1) Implement a function that takes a string as parameter andreturns True if the string contains at least one letter and returnsFalse if the string does not contain a letter. To get credit usethe in string function and a loop to check the string.

>>> containsLetter(“%^*((8**”)

False

>>> containsLetter(“765EE}}}”)

True

2) Implement a function that takes a string as parameter andreturns True if the string contains at least one number and returnsFalse if the string does not contain a number. To get credit usethe in string function and a loop to check the string.

>>> containsNumber(“%^*((8**”)

True

>>> containsNumber(“AbcdEE}}}”)

False

Expert Answer


An answer will be send to

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered):Evidence Based Practice And Applied Nursing Research 7 . . . .(Answered):Evidence Based Practice And Applied Nursing Research 7 . . . .

<h3>Question Description</h3> <p><strong>EVIDENCE-BASED PRACTICE & APPLIED NURSING RESEARCH </strong><br/><br/><em><strong>Competencies:</strong><br/><strong>Foundations of Inquiry -</strong> differentiates between quality improvement processes, evidence based practice, and research.<br/><strong>Literature Review and Analysis -</strong> The graduate demonstrates knowledge