question # 4 fill in the blank what is the output for the following code? >>> answer = \hello dad\ >>>…

question # 4 fill in the blank what is the output for the following code? >>> answer = \hello dad\ >>> answer.lower()

question # 4 fill in the blank what is the output for the following code? >>> answer = \hello dad\ >>> answer.lower()

Answer

Explanation:

Step1: Understand the lower() method

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

Step2: Apply the method

The original string is "Hello Dad". When we call answer.lower(), all uppercase letters 'H' and 'D' are converted to lowercase.

Answer:

hello dad