#!/usr/bin/env python3
#coding: utf-8
"""
pythonic way
"""
N = 20
M = 20
for i in range(1,N):    
    print(''.join(['{:>3} '.format(i*j) for j in range(1,M)]))
    
        



bfdaeb2ab0f344633dbfecdf4ac0c31369c5871b
<mask token>

<mask token>
for i in range(1, N):
    print(''.join(['{:>3} '.format(i * j) for j in range(1, M)]))

<mask token>
N = 20
M = 20
for i in range(1, N):
    print(''.join(['{:>3} '.format(i * j) for j in range(1, M)]))

#!/usr/bin/env python3
#coding: utf-8
"""
pythonic way
"""
N = 20
M = 20
for i in range(1,N):    
    print(''.join(['{:>3} '.format(i*j) for j in range(1,M)]))
    
        


