Computer Science, asked by jaatland163, 2 months ago

Create a python program to enter first name and last name and display full name ​

Answers

Answered by ItzDarshana
1

Explanation:

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.

....

2.Python Exercises, Practice and Solution: Write a Python program which accepts the user's first and last name and print ...

Answered by Cherrycake
2

Explanation:

fname = input("Input your First Name : ")

lname = input("Input your Last Name : ")

print ("Hello " + lname + " " + fname)

This is quite basic !! hope it helps

Similar questions