How do I determine whether a string is of letter characters or digits?
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
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()