python command /instruction to display your name
Answers
Answered by
1
Answer:
Hey mate here is your answer
Name = float ("My Name ")
aswathyr899:
thanks
Answered by
1
Below are the command or program to display your name in python:
Explanation:
name= input("Enter your name")#user input the name by the help of this.
print("Your name is: "+name)#Then the name of the user is diplayed here.
Output:
- If the user input as "Jon", then the output is "Your nme is : Jon".
- If the user input as "Go", then the output is "Your nme is : Go".
Code Explanation:
- The above code is in python language, in which the first line is used to render a message to the user, take the input from the user and store it into the name variable.
- Then the second line is used to print the value of name by the help of print function.
Learn More:
- Python : https://brainly.in/question/14689905
Similar questions
History,
5 months ago
Accountancy,
5 months ago
Math,
5 months ago
English,
10 months ago
Economy,
10 months ago