What does the 'print' function do?
A
Display output on the screen
Correct answer
B
Perform mathematical calculations
C
Create a loop
D
Define a variable
Correct answer
A. Display output on the screen
18 views
⚔️
Challenge a friend on Python
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
The 'print' function is used to display output on the screen. It is a fundamental tool for showing results, messages, or any information during program execution.
Doubts & discussionNot sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ What is the correct way to create a dictionary in Python? Next MCQ › Which of the following is a correct variable assignment?