If I have a digit within a string I can just do:
x = "2" x.isdigit()
and I get True. But when I do this:
By my understanding this also results in True.
My question is now how can I tell if it is a character or a number?
isalpha() for this:
x = "2" x.isalpha()
Answered By – JANO
Answer Checked By – Cary Denson (BugsFixing Admin)