You are viewing a single comment's thread. Return to all comments →
def connectingTowns(n, routes):
prod = 1 for i in routes: prod *= i return prod%1234567
Connecting Towns
You are viewing a single comment's thread. Return to all comments →
def connectingTowns(n, routes):