Q. What is the output of the following Python code: print('Python'.lower())?

  • (A) python
  • (B) PYTHON
  • (C) Python
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) python
Explanation: The lower() method converts all characters of the string to lowercase.
Explanation by: Rakesh Kumar
The lower() method converts all characters of the string to lowercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
163
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
93%
Success Rate