No products in the cart.

Write python command to display your …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write python command to display your school name,class and section,separated by"-"
  • 1 answers

Yogita Ingle 3 years, 11 months ago

The following codes must be typed in script mode, saved and then executed.

CODE:

school = input("Enter your school name:")

Class = input("Enter your class:")

section = input("Enter your section:")

print("Your details are", school, "Class", class, "section", section)

OUTPUT:

 Westchester High

 11

 D

http://mycbseguide.com/examin8/

Related Questions

What is alu
  • 1 answers
Write a program for swapping two numbers?
  • 0 answers
Write a program for swapping two numbers
  • 1 answers
Define packages
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App