Editorial for 9X9


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Author: EricLai

def get_products(a=1,b=9,c=1,d=9):
    ans = []
    for i in range(a,b+1):
        for j in range(c,d+1):
            ans.append(i*j)

    return ans

Comments

There are no comments at the moment.