For this assignment, you must create a Python script that conforms to these specifications: Existsinafilecalledname-processing.py Contains aheaderat the top of the script containing a shebang,...

1 answer below »

For this assignment, you must create a Python script that conforms to these specifications:




  • Existsinafilecalledname-processing.py




  • Contains aheaderat the top of the script containing a shebang, docstring, and variables containing your name, section, and email address




  • Prompts the program’s user to type in his or her first name and last name, and stores these values in appropriately-named variables




  • Displays the user’s initials




  • Reports the length of the user’s first name, Lastname,and full name






    Here’s an example of the program running (note user input inboldface):


    What is your first name?Pete


    What is your last name?Alonso


    Hello, PA!
    Your first name has 4 letters.


    Your last name has 6 letters.


    Your name is 10 letters long.



Answered Same DayNov 01, 2021

Answer To: For this assignment, you must create a Python script that conforms to these specifications:...

Sudipta answered on Nov 01 2021
162 Votes
####################################################################################
#Name:
#Secti
on:
#Email:
####################################################################################
print("What is your first name?")
f_name=input()
print("What is your last...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here