Categories
Numbers and symbols in a string
Please tell me how to check if there are numbers or symbols in a string? is there any method? Or should I use exception handling? Thank you
Answer the question
In order to leave comments, you need to log in
Use regular expressions with the re module
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question