Computer Science, asked by yusraayyubkhan2007, 5 months ago

Write a program to take inputs from the user to enter the first name and last name. Print the first name and the last name together in the console.

Answers

Answered by Braɪnlyємρєяσя
3

First we use split(). split the words into a list. Then traverse till the second last word and upper() function is used for print first character in capital and then add the last word which is title of a name and here we use title(),title function converts the first alphabet to capital

Answered by Anonymous
2

Answer:

Explanation:

first=input("enter your first name:")

last=input("enter your lastname:")

fullname=first +" "+ last

print(fullname)

Similar questions