dhruvmathath dhruvmathath
  • 25-06-2020
  • Computers and Technology
contestada

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

Respuesta :

StaceeLichtenstein StaceeLichtenstein
  • 30-06-2020

Answer:

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
Answer Link

Otras preguntas

What digit appears in the units place in the number obtained when 2^320 is multiplied out?
Which of the following integers is in the solution set of │1 – 3x│ < 5 ? I -1 II 1 III 2
If the tax rate is 6.5%, what is the tax on $80?
10n squared -26n +12
If a function f is continuous for all x and if f has a relative maximum at (-1, 4) and a relative minimum at (3, -2), which of the following statements must be
how could chemical place my life or the life of others in jeopardy
What advantages did the geography and climate give to people living in the Middle Colonies
How many solutions will the following equation have: x squared -49=0
how do u multiply x^2-4 over x^2-1 times x+1 over x^2+2x
i am stuck heres the question;the product of 2 numbers is 144 and their difference is 10 what is the su of the 2 numbersif you can help Thanks¡