diff --git a/HackerRank-Compare the Triplets/Compare_the_Triplets.py b/HackerRank-Compare the Triplets/Compare_the_Triplets.py index 223a2d3..bcd39e5 100644 --- a/HackerRank-Compare the Triplets/Compare_the_Triplets.py +++ b/HackerRank-Compare the Triplets/Compare_the_Triplets.py @@ -1,32 +1,12 @@ -#!/bin/python3 - -import math -import os -import random -import re -import sys - -# Complete the compareTriplets function below. -def compareTriplets(a, b): - alice=0 - bob=0 - for i in range(3): - if(a[i]>b[i]): - alice+=1 - elif(a[i]b[i]: + alice=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