Name Concatenator

sravan953 0 Tallied Votes 115 Views Share

The user enters their first, middle and last names and the program prints their full name.

# User inputs their first name
a=raw_input("Enter your first name: ")

# User inputs their middle name
b=raw_input("Enter your middle name: ")

# User inputs their last name
c=raw_input("Enter your last name: ")

# Prints the user's full name
a=a+" "+b+" "+c
print ("Your full name is: "+a)

raw_input("\nPress any key to continue")