summaryrefslogtreecommitdiff
path: root/progs/a343.py
blob: fef1d4f01957530be870ba85989c864123471c2c (plain)
1
2
3
4
import re
def num_position(text):
 for m in re.finditer("\d+", text):
    return m.start()