summaryrefslogtreecommitdiff
path: root/progs/a231.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a231.py')
-rw-r--r--progs/a231.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a231.py b/progs/a231.py
new file mode 100644
index 0000000..76fd7fd
--- /dev/null
+++ b/progs/a231.py
@@ -0,0 +1,5 @@
+import re
+def extract_max(input):
+ numbers = re.findall('\d+',input)
+ numbers = map(int,numbers)
+ return max(numbers) \ No newline at end of file