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

assume the substance has a half-life of 11 years and the initial amount is 126 grams.How long will it be until only 15 % remains?
What did John Mitchell tell the Senate about Richard Nixon?
6010 males did a survey and 59.7% choose vanilla how many choose chocolate
Why Is Missouri Called the Show-Me State?
??? What is Continuing Education?
How much force is needed to move a box to an acceleration of 1.5 m/s^2 and a mass of 50 kg?
A rectangle's length is three times its width.  Let w denote the rectangle's width.  What polynomial represents the rectangle's area?
what is 3x+3=-27  what is x
Circumference of a circle is 40 π cm. A quarter of the circle represents the developer layer genuine coupe. Calculate the surface compartment.
A physics lab group was conducting an experiment to determine the length of a spring when different objects of varying weight were hung from it. After testing t