Computer Science, asked by hjstylesp1, 10 months ago

write a program to display your name in python​

Answers

Answered by vanaja0204
1

Answer:name=rahul

print("rahul")

Explanation:

Answered by AskewTronics
0

Python program and the output is described below for the above question:

Output:

If the user enter as "Go", then the output will be "Your name is: Go".

Explanation:

print("Your name is:  ",input("Enter your name:  ")) #input and print statement which take the input and print the value.

Code Explanation :

  • The above one-line code holds the two states the print and the input statement which is written in the python language.
  • The input statement instructs the user for the input and takes the input.
  • Then that input value is rendered by the help of print statements with instructing the name is this.

Learn more :

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