1) Program to print 10 * 10 multiplication table 2) http://www.geeksforgeeks.org/find-possible-words-phone-digits/
Sigiloso
If you can use Numpy or Pandas, this becomes extraordinarily simple: row = range(1, 11) column = range(1, 11) data = [c * r for c in column for r in row] mat = np.array(data).reshape(10, 10) print mat df = pd.DataFrame(mat, columns=column, index=row) print df