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 is the sum of the first 7 terms of the series −4+8−16+32−... ?
How does the carbon dioxide necessary for photosynthesis enter plants?
This was the meeting that took place in february of 1945 between the heads of state of the wwii allied powers. the purpose of the meeting was to discuss the reo
each side of an equilateral triangle measures 32 centimeters, as shown. What is the approximate height h of the triangle?
What are two ways to create forms in Base to search data? Use a wizard, or use Design View. Use a wizard, or use a report. Use a report, or use Design View. Use
PLS HELP I WILL MARK BRAINLIEST!!!!!!!!!
Write the expression 6^7/12 in radical form.
Statistics that measure the degree to which two sets of numbers are related are known as ________.
Which three presidents (1850 to 1860)considered to be among the worst in American history?
What is a "soma holiday"? why does lenina go on one?