Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_operation_table(f, h=9, w=9):
- for i in range(1, h+1):
- print(*(f(i, k) for k in range(1, w+1)))
- print_operation_table(lambda x, y: x * y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement