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

Solve the quadratic by factoring 2X²-2X-12=0
How to find the reference angle of -11pi/3 ?
What's the other term for: one who overindulges in food and drink
The diameter of a cylinder is 6 feet 6 inches. The height of a cylinder is 12 feet 3 inches. What is the surface area?    (feet squared)What is the volume?
which designer started as a fashion illustrator before focusing on industrial design?
What was the major purpose of the Truman Doctrine?
What's the other term for: one who overindulges in food and drink
which designer started as a fashion illustrator before focusing on industrial design?
a subway train starts from rest at a station and accelerates uniformly at 1.8m/s^2 for 15 sec. then it runs at a constant speed for the next 35 sec. before dece
write in decimal form fourteen and eighty-Four hundredths