You are viewing a single comment's thread. Return to all comments →
Python3
def gamingArray(arr): # Write your code here mx, c = 0, 0 for i in arr: if i > mx: mx = i c += 1 return "ANDY" if c % 2 == 0 else "BOB"
Seems like cookies are disabled on this browser, please enable them to open this website
Gaming Array 1
You are viewing a single comment's thread. Return to all comments →
Python3