Python中的这行代码怎么说?

问题描述 投票:-1回答:2
print(*range(1, int(input())+1), sep='')
  1. 我想知道此代码的每个部分的作用
  2. 这是python语言的黑客等级练习问题
python python-3.x guid
2个回答
1
投票

代码:


1
投票

好吧,让我们分解一下。

© www.soinside.com 2019 - 2024. All rights reserved.