Computer Science, asked by sakshiojha2124, 11 months ago

write Python command to display your school name, class and section, saperated by "-"​

Answers

Answered by chiefprashant
36

Answer:

#python

Explanation:

name = input("enter name:")

class = input("enter class :")

section = input ("enter class :")

print("Name : {} - Class {} - section {}".format(name,class,section))

Answered by anvitanvar032
3

Answer:

The correct answer to this question is python allows for the following types of user input: input = name "Type your name here" "Hello," name plus "!"

Explanation:

Given - The Python command

To Find - write Python command to display your school name, class and section, separated by "-"​

education = input ("Enter Your School Name :- ")

input = clas ("Enter Your Class :- ")

input for section ("Enter Your Section :- ")

print (school, "-", clas, "-", section)

Python allows for the following types of user input: input = name "Type your name here" "Hello," name plus "!" The aforementioned code only asks the user for information and then prints what they enter. The fact that we are putting the user's input into a variable is one of the most crucial things to keep in mind in this situation.

#SPJ2

Similar questions