Author: Notus(hehe_xiao@qq.com)
Create: 2019-02-12
Update: 2019-02-12
Python version: 3.7.1
‘‘‘
反序打印命令行参数
@Author: Notus(hehe_xiao@qq.com)
@Create: 2019-02-12
@Update: 2019-02-12
‘‘‘
import sys
args = sys.argv[1:]
args.reverse()
print(‘, ‘.join(args))
python .\p176.py ab cd ff
ff, cd, ab
原文:https://www.cnblogs.com/leo1875/p/10367311.html