NadaElhalabi5762 NadaElhalabi5762
  • 03-12-2019
  • Computers and Technology
contestada

Write an expression whose value is the same as the str associated with s but with all lower caseletters. Thus, if the str associated with s were "McGraw15", the value of the expression would be "mcgraw15".

Respuesta :

Limosa
Limosa Limosa
  • 03-12-2019

Answer:

"s.lower()" is the correct answer to the given question.

Explanation:

Because the string value "McGraw15" stored in the string data type variable i.e "s" and after the output, the following string converted from Uppercase into the Lowercase "mcgraw15" with the help of lower() method.

lower() function is the built-in string function that converts all the uppercase string values into the lowercase string value and if the value is already in lowercase than it will remain same.

Answer Link

Otras preguntas

healthy citizens are the greatest assets of country what can a state do to keep her citizens healthy​
In health class, Myra learns that smoking is not good for a person's body. She tells her father, who is an avid smoker. Myra's father does not consider his smok
i have driven a car into passive voice​
what are 3 important things from the news?
Which statement describes a climate condition? NEED IT ASAP​
why is density of population low in karnali province?give reason.​
What are the rights of the accused
what fraction of 60 is the number 10? what fraction of 60 is the number 40? what fraction of 60 is the number 12? what fraction of 60 is the number 18?
Which graph can be used to find the solutions to x^2-4x+4=2x+1+x^2
A 450 lb. weanling requires treatment with potassium penicillin at a dose of 22,000 IU/kg q.i.d. The bottle of potassium penicillin has been reconstituted to a