diff --git a/Compare the Triplets.py b/Compare the Triplets.py new file mode 100644 index 0000000..187b1fb --- /dev/null +++ b/Compare the Triplets.py @@ -0,0 +1,15 @@ +def compare(a,b): + x=[0,0] + for i in range(3): + if a[i]>b[i]: + x[0]+=1 + elif a[i]