Single Choice
Not Set
QThe function to display a specified message on the screen is ... ?
ID: #3390
Python Basic MCQ
719 views
Question Info
#3390Q ID
Not SetDifficulty
Python Basic MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The print() function is used to display messages, values, or the
results of expressions on the screen. It is one of the most commonly used
built-in functions in Python.
The argument passed to print() can be a string, number, variable,
or any other object. Python automatically converts the object into a string
before displaying it.
Example:
print("Hello, World!")
print(100)
print(25 + 15)
Output:
Hello, World!
100
40
The other options are incorrect because display, run,
and output are not standard Python functions for displaying text
on the screen.
Therefore, the correct answer is
Option A) print().
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic