What is the output of the following code with the input hairy
then chair
:
adj = input()
noun = input()
print("The " + adj + " dog likes the " + noun)
Instructor solution
Think you've got it?
What are the inputs to make the output of the following code Chicken Little was a baby rooster
:
print(input() + " Little " + input() + " a baby " + input())
- A.
Chicken Little
baby rooster
- B.
Chicken
was
rooster
- C.
Chicken
Little
rooster
- D.
Chicken
Little
was
a
baby
rooster
You may exit out of this review and return later without penalty.