Quick Quiz on Modules and Functions
Explore Python modules and functions through a quick quiz that helps reinforce your understanding of key concepts. Gain confidence in how these core components work before advancing to iterations and loops.
We'll cover the following...
We'll cover the following...
Technical Quiz
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
1 / 3
Now that you have learned about modules and ...