write a program to display your name in python
Answers
Answered by
1
Answer:name=rahul
print("rahul")
Explanation:
Answered by
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