Verifique se a string tem dígitos python
string = 'this string has digits 12345'
if any(char.isdigit() for char in string):
#digits found
print('"{}" has digits!'.format(string))
else:
#digits NOT found
print('"{}" does NOT have digits!'.format(string))
The God of Monkeys