Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 199 Bytes
import re
num = 23
factor = 2
onesZeros = re.compile(r'[2-9]+')
while True:
intermed = num*factor
if onesZeros.search(str(intermed)) is None:
print(intermed)
break
factor += 1
You can’t perform that action at this time.