101k views
5 votes
What is the output for the following code?

>>> answer = “hello Dad”

>>> answer.lower()

1 Answer

6 votes

Answer:

the output would be "hello dad"

Step-by-step explanation:

If the language is python, the lower() method converts the string to lower case. Of course, if you actually wanted to print something, you'd have to write

print(answer.lower())

User JoeCarpenter
by
3.9k points