Course Solutions Uncategorized (Solved) : Define Function Called Hasletter Takes String Returns True String Least One Alphabetic Le Q30234682 . . . .

(Solved) : Define Function Called Hasletter Takes String Returns True String Least One Alphabetic Le Q30234682 . . . .

 

In Python
A. Define a function called has_letter ( that takes a string, returns True if the string has at least one alphabetic letterl, and returns False otherwise. For example, has_letter (ABC, has_letter (2x4, and has_letter(T 2/6) should all return True, but has-letter ( 65, 537 ) and has.-letter ( $&#@ ! ) should return False. Your function should use a for loop to do this calculation [1 Hint: the Python string method isalpha can be used to determine if a string consists of only alphabetic letters. For example, a.isalpha() and ?????. isalpha ( ) return True, while ! 

<div class=

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