πŸ“Š Python
Q. What is the output of the following code?
Code:
print('python'.upper())
  • (A) PYTHON
  • (B) python
  • (C) Python
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) PYTHON

Explanation: The upper() method converts all characters in the string to uppercase.

Explanation by: Ankit Singh
The upper() method converts all characters in the string to uppercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
54
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Ankit Singh
Publisher
πŸ“ˆ
95%
Success Rate