what is the output?\n>>> phrase = \hi dad\\n>>> phrase.lower()

what is the output?\n>>> phrase = \hi dad\\n>>> phrase.lower()

what is the output?\n>>> phrase = \hi dad\\n>>> phrase.lower()

Answer

Explanation:

Step1: Understand the method

The lower() method in Python converts all uppercase characters in a string to lowercase.

Step2: Apply the method

The original string is "Hi Dad". When we apply the lower() method to it, "H" becomes "h" and "D" becomes "d". So the output is "hi dad".

Answer:

hi dad