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

Why do rip and his wife have such a stormy marriage
How do I solve 3x+2y=23 1/2x-4=y by using substitution?
what ion is oxygen likely to form?
In the inspirational 1946 film, It's a Wonderful Life, what's the name of George Bailey's guardian angel
Which describes how Confucian thought influenced Chinese society and history? Choose all answers that are correct. A. Rich people with connections should be the
why can we sometimes hear noises in the stomach during digestion??? guzz hust tell me short answer and do not copy frommmm any websiteplzzzzzzzzzzzzz
why was martin luther excommunicated and declared heretic?
Which is an example of an atom? A)the smallest unit of Ne B)the smallest unit of p4 C)the smallest unit of NH3 D)the smallest unit of H2O
The most popular toy of 1984 was what doll named after a vegetable?
what happens in the arctic circle during summer? why?