Quick Quiz on Modules and Functions

1

What is the output of the following function?

def function(fruit = "Orange"):
  print("I like " + fruit)

function("Banana")
function("Peach")
function()
function("Mango") 
A)
I like Banana
I like Peach
I like Orange
I like Mango
B)
I like Banana
I like Peach
I like Peach
I like Mango
C)
I like Banana
I like Peach
I like Mango
Question 1 of 30 attempted

Get hands-on with 1400+ tech skills courses.