Examveda

What is the output of print("Hello, World!")?

A. Hello, World!

B. Hello

C. World!

D. Error

Answer: Option A

Solution (By Examveda Team)

The output of print("Hello, World!") is Hello, World!.
The print() function in Python is used to output text to the console. In this case, the function prints the string "Hello, World!" exactly as it is written, resulting in "Hello, World!" being displayed on the console. Therefore, the correct output is "Hello, World!".

This Question Belongs to Python Program >> Introduction To Python

Join The Discussion

Related Questions on Introduction to Python