ungleich-learning-circle/kjg/python-the-hard-way/e14.py

24 lines
544 B
Python
Raw Normal View History

2020-05-20 13:52:18 +00:00
from sys import argv
script, user_name, first, second = argv
prompt = '==> '
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 me {user_name}?")
likes = input(prompt)
print(f"Where do you live {user_name}?")
lives = input(prompt)
print(f"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 suer where that is.
And you have a {computer} computer. Nice.
{first} and {second}
""")