From bd82b1fd32732d42ba7de82f2731ae473ed177a5 Mon Sep 17 00:00:00 2001 From: Akki4A <72689060+Akki4A@users.noreply.github.com> Date: Thu, 22 Oct 2020 13:50:28 +0530 Subject: [PATCH] MIN and MAX Value in given list Program to tell maximum and minimum values in a given list --- MIN and MAX Value | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 MIN and MAX Value diff --git a/MIN and MAX Value b/MIN and MAX Value new file mode 100644 index 0000000..1441e54 --- /dev/null +++ b/MIN and MAX Value @@ -0,0 +1,4 @@ +from numpy import * +a1= array([1,8,4,7,9,2,5]) +a=sort(a1) +print("min value is",a[0],"::", "max value is",a[-1])