CBSE Class 11 Computer Science Question 40 of 98

Python Programming Fundamentals — Question 2

Back to all questions
2
Question

Question 2

Write a Python command to display your school name, class and section, separated by "-".

Answer
print("Kendriya Vidyalaya", "11", "A", sep = "-")
Output
Kendriya Vidyalaya-11-A