summaryrefslogtreecommitdiff
path: root/progs/a657.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a657.py')
-rw-r--r--progs/a657.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a657.py b/progs/a657.py
new file mode 100644
index 0000000..db7ed67
--- /dev/null
+++ b/progs/a657.py
@@ -0,0 +1,3 @@
+def max_val(listval):
+ max_val = max(i for i in listval if isinstance(i, int))
+ return(max_val) \ No newline at end of file