Python program to read and display name of a school
Answers
Answered by
6
name = input("Enter the name of the school")
print(name)
Answered by
0
Python program and the output is described below for the above question:
Output:
If the user enter as "Little mount", then the output will be "The name of your school is: Little mount".
Explanation:
print("The name of your school is: ",input("Enter the name of your school: ")) #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 of the school.
Learn more :
- Python : https://brainly.in/question/14689905
Similar questions