Question: Write the function is_alpha_num(s) that takes in a string and returns True if there is at least one character and every character in the
Write the function is_alpha_num(s) that takes in a string and returns True if there is at least one character and every character in the string is a letter or a digit. The function returns False otherwise.Your function should call the is_alpha and is_digit functions that you have already written. Write the function is_alpha_num(s) that takes in a string and returns True if there is at least one character and every character in the string is a letter or a digit. The function returns False otherwise.Your function should call the is_alpha and is_digit functions that you have already written.
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
You can create the isalphanum function in Python using the isalpha and isdigi... View full answer
Get step-by-step solutions from verified subject matter experts
