Write a command in the python to display your name & surname by giving single spac
Answers
Answered by
0
first_name = input("Please Type Your First Name : ")
surname = input("Please Type Your surname : ")
print(first_name + " "+surname)
Explaination:
the first_name variable takes input of first name in string and the surname takes a string value of surname.
next we display it in the console using print where we combine first name second name with a string with space in between
Similar questions