next_permutation () 메소드를 사용

NoSuchKey

추천

출처www.cnblogs.com/younanyihu/p/12366943.html