def print_params(a=1, b='строка', c=True): ...
for i in range(1, res+1): for j in range(i, res+1): ...