Computer Science, asked by nabilamaryam9429, 7 months ago

Write a command in the python to display your name & surname by giving single spac

Answers

Answered by aryanprasadblr
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