for rida in range(1, 10): for veerg in range (1, 10): print rida*veerg, print