πŸ“Š Python
Q. Which of the following is the correct way to print 'Hello World' in Python?
  • (A) echo('Hello World')
  • (B) print('Hello World')
  • (C) printf('Hello World')
  • (D) cout << 'Hello World'
πŸ’¬ Discuss
βœ… Correct Answer: (B) print('Hello World')

Explanation: In Python, the print() function is used to display output. Other options are from different languages.

Explanation by: Ankit Singh
In Python, the print() function is used to display output. Other options are from different languages.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
44
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Ankit Singh
Publisher
πŸ“ˆ
84%
Success Rate