Advertisement
1nikitas

Untitled

Mar 23rd, 2022
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. def print_operation_table(f, h=9, w=9):
  2. for i in range(1, h+1):
  3. print(*(f(i, k) for k in range(1, w+1)))
  4. print_operation_table(lambda x, y: x * y)
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement