summaryrefslogtreecommitdiff
path: root/progs/a726.py
blob: 2a96bbf59c2dabd6dcf38a33edc49df935467648 (plain)
1
2
3
def add_K_element(test_list, K):
  res = [tuple(j + K for j in sub ) for sub in test_list]
  return (res)