diff --git a/HackerRank-Compare the Triplets/Compare_the_Triplets.py b/HackerRank-Compare the Triplets/Compare_the_Triplets.py index 223a2d3..01294b7 100644 --- a/HackerRank-Compare the Triplets/Compare_the_Triplets.py +++ b/HackerRank-Compare the Triplets/Compare_the_Triplets.py @@ -1,32 +1,13 @@ -#!/bin/python3 +a=list(map(int,input().split())) +b=list(map(int,input().split())) +bob=0 +alice=0 +for i in range(3): + if a[i]>b[i]: + alice=alice+1 + elif a[i]b[i]): - alice+=1 - elif(a[i]