183k views
4 votes
Consider the code below. When you run this program, what is the output if the temperature is 77.3 degrees Fahrenheit?

temperature = gloat(input('what is the temperature'))
if temperature >70:
print('Wear short sleeves')
else:
print('bring a jacket')
print ('Go for a walk outside')

User Dragomirik
by
5.7k points

1 Answer

1 vote

Answer:

The output would be "Wear short sleeves"

Step-by-step explanation:

The temperature is 77.3 degrees and 77.3 > 70

User Bo Buchanan
by
6.2k points