#!usr/bin/env python# -*- coding: utf-8 -*-# Author:Sun Xiaolinimport sysjudgement = sys.argv[1] #[]内写的值表示取第几个# print(judgement)if judgement == "1": print("一")elif judgement == "2": print("二")else:print("请正确输入")
本文共 278 字,大约阅读时间需要 1 分钟。
#!usr/bin/env python# -*- coding: utf-8 -*-# Author:Sun Xiaolinimport sysjudgement = sys.argv[1] #[]内写的值表示取第几个# print(judgement)if judgement == "1": print("一")elif judgement == "2": print("二")else:print("请正确输入")
转载于:https://www.cnblogs.com/jianxisunxiaolin/p/10747858.html