CBSE Class 11 Computer Science Question 55 of 80

Getting Started with Python — Question 20

Back to all questions
20
Question

Question 20

Differentiate between displaying and printing method in Python.

Answer

Printing in Python refers to using the print() function to output information to the console. The print() function takes one or more arguments, converts each argument to a string (if necessary), and displays them as text. On the other hand, displaying can be a more general term that encompasses presenting information or output in various forms, not limited to just text output in the console.