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] pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy