1. Engineering
  2. Computer Science
  3. task to complete this assignment you should create a python...

Question: task to complete this assignment you should create a python...

Question details

Task: To complete this assignment, you should create a Python script that:

  1. Asks a user for their first name and store the input in a variable.
  2. Asks a user for their last name and store the input in a variable.
  3. Asks a user for their address and store the input in a variable.
  4. Asks a user for their city and store the input in a variable.
  5. Asks a user for their state and store the input in a variable.
  6. Asks a user for their zip code and store the input in a variable.
  7. Asks a user for the year they were born and store the input in a variable.
  8. Asks a user for the name of a friend and store the input in a variable.
  9. Asks a user for an action verb and store the input in a variable.
  10. 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:

  1. Determine how old the user is programmatically based on the year they submitted
  2. 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
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution