a = 9 while a >= 1: b = 1 while b <= a: print(a, "*", b, "=", a * b, end=" ") b = b + 1 print() a = a -1