Write a program in Python to accept first name and last name and display full name.
Write the whole program and send it
Pls help.
Answers
Answered by
1
fullname(str1) /* str1 is a string */ Step 1: first we split the string into a list. Step 2: newspace is initialized by a space(“”) Step 3: then traverse the list till the second last word. Step 4: then adds the capital first character using the upper function. Step 5: then get the last item of the list.
Similar questions