You are viewing a single comment's thread. Return to all comments →
def restaurant(l, b):
N_min = min(l,b) for i in range(N_min,0,-1): if l%i + b%i == 0: return( (l*b)//(i**2) ) break return l*b
Seems like cookies are disabled on this browser, please enable them to open this website
Restaurant
You are viewing a single comment's thread. Return to all comments →
def restaurant(l, b):