# coding=utf-8
from sys import argv
script,user_name = argv
prompt = '> '
print("Hi %s,I'm the %s script."%(user_name,script))
print("I'd like to ask you a few questions.")
print("Do you like me %s?" % user_name)
likes = input(prompt)
print("Where do you live %s?" % user_name)
lives = input(prompt)
print("What kind of computer do you have?")
computer = input(prompt)
print("""
\t*Alright,so you said %r about liking me.
\t*You livie in %r. Not sure where that is.
\t*And you have a %r computer. Nice.""" % (likes,lives,computer))
"""
此习题为巩固加深,可以按照自己的理解重新编写脚本,另外请再次加深转义字符,字符格式化
"""