How do I determine whether a string is of letter characters or digits?

Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Dec 3, 2020

Via #python

16:50 < hendry> How do I determine whether a string is of letter  character or digits?

16:50 < deltab> s.isdigit()

16:51 < deltab> and s.isalpha()