Computer Science, asked by kpsingh9948, 5 months ago

What does the following code print to the console?
hair color = "blue"
if 3 > 2:
if hair color = "black":
print("You rock!")
else:
print("Boring")​

Answers

Answered by Harshit8Harshal
1

Answer:

nice question ........ plz mark me as brain list

Answered by arokyamatthewnathan
0

Answer:

D. Boring is the answer.

As hair color is blue, but not black .

therefore the python will execute the statement of else statement,

which is boring

PLZ MARK ME IN BRAIN LIST

THANK YOU GUYS

Similar questions