We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#!/usr/bin/python3.8 # Author: ye_3000 # Created Time: 2022-07-06 n, m = list(map(int, input().split())) ls = list(input().split()) m %= n ls[:] = ls[:: -1] ls[:m] = ls[:m][:: -1] ls[m:] = ls[m:][:: -1] print(" ".join(ls))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
虽然比仓库里的代码要多几行,但是更加符合PythonIC风格规范
The text was updated successfully, but these errors were encountered: