Ask Question
28 February, 04:11

Write a Python program to convert the characters to lowercase in a string

+1
Answers (1)
  1. 28 February, 07:36
    0
    Following is the program in the python language

    st = 'sAN RaN' #String

    print (st. lower ()) #display into the lowercase

    Output:

    san ran

    Explanation:

    Following are the description of program

    Declared and initialized the string in the "st" variable. The lower function in python is used for converting the uppercase string into the lower case string. Finally in the print function we used lower function and display the string into the lower case
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write a Python program to convert the characters to lowercase in a string ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers