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

Can someone help me !!!!
Explain two ways that the action of Europeans at the Berlin conference affect did the African people
A spinner has five congruent sections labeled 1-5. If a person spins the spinner 125 times, how many times could she expect to land on an even number?
A boat is approaching a cliff known to be 40m tall. The angle of elevation is 30°. How far away is the boat from the cliff?
A quadratic polynomial has a degree greater than 2? True or false
The specific heat of gold is 0.031 calories/gram C .If 10.0 grams of gold were heated and the temperature of the sample changed 20.0C , how many calories of hea
Find all missing sides and angles with work
What type of area on the body are insects attracted to? dark dry moist cold
what is the answer please?
The diameter of a circular door wreath is 14 inches.What is the area of the wreath? (Use 3.14 for 1.)​