私信TA
用户名:zgjja
访问量:10851
签 名:
X_X
自我简介:
作者: zgjja 发表时间:2021-02-04 20:37:49 浏览:124 | 评论:0
解题思路:无注意事项:注意迭代器的使用方法参考代码:
import itertools n = int(input()) string = "0123456789" temp = itertools.permutations(string) res = None while n > 0: res = next(temp) n -= 1 print(''.join(res))
0.0分
0 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
代码纠错
SQL生成与解释