美文网首页
练习13 参数,解包,变量

练习13 参数,解包,变量

作者: 黑色茄子 | 来源:发表于2017-09-16 14:04 被阅读0次

    from sys import argv

    script,first,second,third,fourth=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

    fourth = raw_input("Your fourth variable is:")
    print fourth

    相关文章

      网友评论

          本文标题:练习13 参数,解包,变量

          本文链接:https://www.haomeiwen.com/subject/icgysxtx.html