3 lines
100 B
Python
3 lines
100 B
Python
|
def print_table(n):
|
||
|
for a in range(1, n+1):
|
||
|
print(' '.join([str(a*b) for b in range(1, n+1)]))
|