Computer Science, asked by jquina0519, 1 year ago

Answers to code practice 1.7 on edhesive. Says "Write a program that asks the user to input their first and last names. Please i try many times with the answers in this website can someone help me? thanks

Answers

Answered by khandelwalnandini
0

Explanation:

jjejuejueueuieieieieii3is yhyfg8

Answered by AskewTronics
0

Following are the program in python for the above question:

Explanation:

first_name=input("Enter your first name: ")#take the input for the first name.

second_name=input("Enter your last name: ")#take the input for the last name.

print("your first name is: "+first_name+" and the last name is: "+second_name)# print the first name and last name.

Output:

  • If the user gives the input as Go for the first name and the jon for the last name, then the output is "your first name is: Go and the last name is: jon.

Code Explanation:

  • The above code is in python language which takes the input for the first name and for the last name and then it will print the value of the first name and for the last name.
  • The input is taken by the input function and the output is given by the print function.

Learn More:

  • Python : https://brainly.in/question/14689905
Similar questions