#!usr/bin/env python # -*- coding: utf-8 -*- # Author:Sun Xiaolin import sys judgement = sys.argv[1] #[]內寫的值表示取第幾個 # print(judgement) if judgement == ... ...
#!usr/bin/env python # -*- coding: utf-8 -*- # Author:Sun Xiaolin import sys judgement = sys.argv[1] #[]內寫的值表示取第幾個 # print(judgement) if judgement == "1": print("一") elif judgement == "2": print("二") else:print("請正確輸入")