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

Anumeha is mowing lawns for a summer job. For every mowing job, she charges an initial fee of $10 plus a constant fee for each hour of work. Her fee for a 5-hou
If f(x)=2x-4, what x-value would make f(x)=-9
2 words that describes Byzantine
Can sum1 explain to me on how bacteria multiply?
n a class action lawsuit, 4000 claimants were offered a $800 million settlement. How much is that per claimant. Change the number into scientific notation to ca
6. What important military contribution did Navajo Code Talkers make during World War II?
Which of the following is an important component of drug accountability?
can someone please help me ?
1. 12,000 years ago the nomadic ancestors of modern Native Americans hiked over a "land bridge" from Asia to what is now Alaska. Anthropologists and geographer
will give brainliest : how did the philosophers of the Enlightenment have an impact on the governments of future countries