I have 2 inputs that receive the first and last name of a person, then the values entered are entered and the age is requested, but the print is showing name information between " Brackets ". How can I remove?
This is the output
Type your first name: elvis
Type your last name: da silva
['Elvis'] ['Da', 'Silva'], Type your age: 18
This is the code
first_name = str(input('Type your first name: ').split())
last_name = str(input('Type your last name: ').split())
age = int(input('{}, Type your age: '.format(str(first_name+" "+str(last_name)).title())))