Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task: To complete this assignment, you should create a Python script that: Asks a user for their first name and store the input in a
Task: To complete this assignment, you should create a Python script that:
- Asks a user for their first name and store the input in a variable.
- Asks a user for their last name and store the input in a variable.
- Asks a user for their address and store the input in a variable.
- Asks a user for their city and store the input in a variable.
- Asks a user for their state and store the input in a variable.
- Asks a user for their zip code and store the input in a variable.
- Asks a user for the year they were born and store the input in a variable.
- Asks a user for the name of a friend and store the input in a variable.
- Asks a user for an action verb and store the input in a variable.
- Output all the variables in a short story of your choosing using concatenation. The story should be something fun and utilize the user's information in a creative way.
Bonus Points: For this first assignment, I will give you a full extra point if you can:
- Determine how old the user is programmatically based on the year they submitted
- Output two new lines (using the new line character) between the last question and the paragraph you output.
Criteria for success: You will receive a perfect score if you:
- Provide comments for each section of your code describing what the code is doing
- Add appropriate information to the docstring at the top of the script page in Spyder
- Follow the rules relating to variable naming
- Have a complete, working script
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started