how to see if something is a number in python code example Example: if any number python def num_there(s): return any(i.isdigit() for i in s)