diff options
Diffstat (limited to 'progs/a343.py')
-rw-r--r-- | progs/a343.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a343.py b/progs/a343.py new file mode 100644 index 0000000..fef1d4f --- /dev/null +++ b/progs/a343.py @@ -0,0 +1,4 @@ +import re
+def num_position(text):
+ for m in re.finditer("\d+", text):
+ return m.start()
\ No newline at end of file |