CBSE Class 11 Informatics Practices Question 41 of 102

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