Ask Question
12 November, 16:38

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

+5
Answers (1)
  1. 12 November, 17:02
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers