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

what's the Louisiana purchase
The Apology of Socrates What are the ultimate consequences of his responses to the Athenian court?
Protect(s) the eardrum from dirt.
Laurie buys four bags of candy with 10 pieces of candy in each bag. Her father then gives her 5 more pieces of candy. Laurie wants to give as much of her candy
A pure substance that is made of only one kind of atom is called _________. a. an element b. an electron c. a particle d. a proton
The solution of the equation 2d - 6 = 5 is _____.
The gym teacher had us boys run for about 45 minutes. antecedent or appositive?
If a volcanic eruption lowers the pH of the water in a nearby lake, how might this lowered pH harm living things in the lake?
What is the meaning of incorporated?
Explain the difference between a greatest common factor and a least common factor