1. Home
  2. Data Science
  3. Python
  4. Which method is used to convert a string to lowercase in…

Added 4 May 2024

Which method is used to convert a string to lowercase in Python?

  1. upper()
  2. capitalize()
  3. lower() Correct answer
  4. swapcase()

Correct answer

C. lower()

17 views

MCQSEXAM

Explanation

The lower() method converts all characters in a string to lowercase.

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs