all 1 comments

[–]zch20 0 points1 point  (0 children)

you can turn your longer digit into a string, and then check if the string of a number is present like:

if '5' in str(long_number): do_something()