Answers for "valid alphabet python"

2

is alphabet python

test = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
test.isalpha()
# This will return True if all chars in string are from a-z or A-Z and Flase in all other cases
Posted by: Guest on May-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language