Page 1 of 1

2.12 LAB: Name format Many documents use a specific format for a person's name. Write a program whose input is: firstNam

Posted: Mon Jul 11, 2022 9:55 am
by answerhappygod
2 12 Lab Name Format Many Documents Use A Specific Format For A Person S Name Write A Program Whose Input Is Firstnam 1
2 12 Lab Name Format Many Documents Use A Specific Format For A Person S Name Write A Program Whose Input Is Firstnam 1 (66.64 KiB) Viewed 332 times
2 12 Lab Name Format Many Documents Use A Specific Format For A Person S Name Write A Program Whose Input Is Firstnam 2
2 12 Lab Name Format Many Documents Use A Specific Format For A Person S Name Write A Program Whose Input Is Firstnam 2 (203.86 KiB) Viewed 332 times
2.12 Lab: Name format. need help to solve.
2.12 LAB: Name format Many documents use a specific format for a person's name. Write a program whose input is: firstName middleName lastName and whose output is: lastName, firstInitial.middlelnitial. Ex: If the input is: Pat Silly Doe the output is: Doe, P.S. If the input has the form: firstName lastName the output is: lastName, firstInitial. Ex: If the input is: Julia Clark the output is: Clark, J. OL
lark, 414446.2654246.qx3zqy7 LAB ACTIVITY 123456789 HANG 1 Name = 10 3 if(len (Name) ==3): 11 12 13 2.12.1: LAB: Name format 14 15 input().split() firstName Name[0] middleName Name [1] lastName Name [2] H print (lastName, if (Len (Name) == 2): firstName = Name [0] lastName Name [1] ", firstName, 3 print (lastName, firstName, sep= main.py middleName[0], end= ,') 1 sep= '') 0/10 Load default template... often as you'd like before submitting for arading Relow tyne any needed.