12.5k views
1 vote
What is the output?
>>> phrase = "hello mom"
>>> phrase upper()

User Camelle
by
4.7k points

2 Answers

0 votes

Answer:

The answer is HELLO MOM

Step-by-step explanation:

I hope this helps, have a wonderful day!

User KennetsuR
by
4.3k points
1 vote

Answer:

The iutput would be nithing since nothing is printed out, how ever, the output of

>>> phrase = "hello mom"

>>> print(phrase.upper())

would be "HELLO MOM".

You would get the same results from this code,

>>> phrase = "hello mom"

>>> phrase = phrase.upper()

>>> print(phrase)

User Daniel ORTIZ
by
4.2k points