0
如何將「int」添加到此代碼中,以便三者中的至少一個必須是整數?如何將int添加到argv
from sys import argv
script, first, second, third = argv
print "The script is called:", script
print "Your first variable is:", first
print "Your second variable is:", second
print "Your third variable is:", third
你能改述嗎?你是什麼意思加入int?如果爭論是整數,那麼你可以做@Ignacio Vazquez-Abrams所要求的。除此之外,我不明白你的問題 – smac89