代码拉取完成,页面将自动刷新
from sys import argv
script, user_name = argv
prompt = f'{script} ({user_name})> '
print(f"Hi {user_name}, I'm the {script} script.")
print("I'd like to ask you a few questions.")
print(f"Do you like m e {user_name}?")
likes = input(prompt)
print(f"Where do you live {user_name}?")
lives = input(prompt)
print(f"How old are you {user_name}?")
age = input(prompt)
print(f"You're {int(age)}.What kind of computer do you have?")
computer = input(prompt)
print(f"""
Alright,so you said {likes} about liking me.
You live in {lives}. Not sure where that is.
And you are {int(age)} and have a {computer} computer.Nice.
""")
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。