代码拉取完成,页面将自动刷新
__author__ = 'Liu'
# 其实只是让argv在CMD终端接收一部分的参数,然后在用input函数接收一部分参数
# 并不是用argv的方式,通过输入来接收多个参数
from sys import argv
script, user_name = argv
prompt = ">"
print('My name is %s,and you know i am the script %s.' % (user_name, script))
print('do you like me?')
like = input(prompt)
print("how old are u?")
age = input(prompt)
print("""
Ok you said you %r me very much.you r %r years old.
""" % (like, age)
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。