Apr-05-2017, 12:27 PM
Hi you can use my code to find wether a string have letters or not ...
stri = 'qwerty'
if not stri.isalnum():
print "string have symbols"
else:
print "string don't have symbols"
stri = 'qwerty'
if not stri.isalnum():
print "string have symbols"
else:
print "string don't have symbols"