fork download
  1. from itertools import combinations as perm
  2. for comb in perm([ch for ch in input()]): print(''.join(comb))
  3.  
Runtime error #stdin #stdout #stderr 0.04s 9360KB
stdin
X772KX
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
TypeError: Required argument 'r' (pos 2) not found