DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How to Use Python all() Function to Check for Letters in a String using all function
s = "Adsjdsjdsjdsjdfs" res = [char.isalpha() for char in s] print(all(res))
PREVIOUS
NEXT
Tagged:
#How
#Use
#Python
#Function
#Check
#Letters
#String
#function
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit