Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):python execution

def areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight):
    if max(yourLeft, yourRight) == max(friendsRight, friendsLeft) and min(yourLeft, yourRight) == min(friendsLeft, friendsRight):
        return True
    else:
        return False
 
PREVIOUS NEXT
Tagged: #def #execution
ADD COMMENT
Topic
Name
6+1 =