from itertools import combinations as perm for comb in perm([ch for ch in input()]): print(''.join(comb))
X772KX
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 2, in <module> TypeError: Required argument 'r' (pos 2) not found