Answer:
#Program starts here 
#Prompt User for Input "FirstName and LastName "
FirstName = input("Enter Your FirstName: ") 
LastName = input("Enter Your LastName: ") 
#Define Function 
def lastF(FirstName, LastName): 
 FirstName = FirstName[0]+"." 
 print(LastName+", "+FirstName); 
lastF(FirstName, LastName) #Call Function 
#End of Program
Step-by-step explanation:
On line 3 and 4, the user is expected to enter his/her first name and last name respectively
On line 6, the function LastF with two arguments is defines
On line 7, the initial of FirstName is extracted
Line 8 prints the required output
Line 9 Calls the defined function.