QUESTION IMAGE
Question
question # 4 fill in the blank what is the output for the following code? >>> answer = \hello dad\ >>> answer.lower()
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
hello dad